@zohodesk/dot 1.0.0-temp-181.7 → 1.0.0-temp-182

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 (416) hide show
  1. package/.cli/propValidation_report.html +1 -1
  2. package/README.md +13 -0
  3. package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +0 -50
  4. package/assets/Appearance/light/mode/Dot_LightMode.module.css +0 -50
  5. package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +0 -50
  6. package/coverage/ExternalLink/ExternalLink.js.html +1 -1
  7. package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
  8. package/coverage/ExternalLink/index.html +1 -1
  9. package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
  10. package/coverage/ExternalLink/props/index.html +1 -1
  11. package/coverage/ExternalLink/props/propTypes.js.html +1 -1
  12. package/coverage/IconButton/IconButton.js.html +1 -1
  13. package/coverage/IconButton/IconButton.module.css.html +2 -5
  14. package/coverage/IconButton/index.html +1 -1
  15. package/coverage/IconButton/props/defaultProps.js.html +1 -1
  16. package/coverage/IconButton/props/index.html +1 -1
  17. package/coverage/IconButton/props/propTypes.js.html +1 -1
  18. package/coverage/Image/Image.js.html +1 -1
  19. package/coverage/Image/Image.module.css.html +1 -1
  20. package/coverage/Image/index.html +1 -1
  21. package/coverage/Image/props/defaultProps.js.html +1 -1
  22. package/coverage/Image/props/index.html +1 -1
  23. package/coverage/Image/props/propTypes.js.html +1 -1
  24. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
  25. package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +4 -7
  26. package/coverage/avatar/AvatarWithTeam/index.html +1 -1
  27. package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
  28. package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
  29. package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
  30. package/coverage/coverage-final.json +16 -16
  31. package/coverage/coverage-summary.json +16 -16
  32. package/coverage/index.html +1 -1
  33. package/es/ActionButton/ActionButton.module.css +51 -4
  34. package/es/AlphabeticList/AlphabeticList.module.css +0 -2
  35. package/es/Attachment/Attachment.module.css +4 -4
  36. package/es/AttachmentViewer/AttachmentViewer.module.css +0 -2
  37. package/es/ChannelIcon/ChannelIcon.module.css +10 -5
  38. package/es/Drawer/Drawer.js +4 -5
  39. package/es/Drawer/Drawer.module.css +3 -3
  40. package/es/ExternalLink/ExternalLink.js +4 -5
  41. package/es/FlipCard/FlipCard.js +14 -12
  42. package/es/FormAction/FormAction.module.css +18 -1
  43. package/es/FreezeLayer/FreezeLayer.js +1 -1
  44. package/es/IconButton/IconButton.js +4 -5
  45. package/es/IconButton/IconButton.module.css +0 -1
  46. package/es/ImportantNotes/ImportantNotes.module.css +1 -1
  47. package/es/Link/Link.js +8 -10
  48. package/es/Message/Message.js +4 -5
  49. package/es/Message/Message.module.css +1 -1
  50. package/es/Separator/Separator.module.css +11 -2
  51. package/es/TagWithIcon/TagWithIcon.module.css +2 -5
  52. package/es/ToastMessage/ToastMessage.js +2 -4
  53. package/es/ToastMessage/ToastMessage.module.css +3 -3
  54. package/es/actions/AutoClose.js +2 -1
  55. package/es/alert/AlertHeader/AlertHeader.module.css +4 -2
  56. package/es/alert/AlertLookup/AlertLookup.js +14 -12
  57. package/es/avatar/AvatarClose/AvatarClose.js +7 -7
  58. package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
  59. package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
  60. package/es/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
  61. package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
  62. package/es/avatar/AvatarThread/AvatarThread.js +7 -7
  63. package/es/avatar/AvatarUser/AvatarUser.js +10 -9
  64. package/es/avatar/AvatarUser/AvatarUser.module.css +46 -2
  65. package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  66. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
  67. package/es/common/dot_boxShadow.module.css +2 -0
  68. package/es/dropdown/ToggleDropDown/ToggleDropDown.js +36 -24
  69. package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  70. package/es/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  71. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
  72. package/es/errorstate/EmptyStates.module.css +24 -1
  73. package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  74. package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
  75. package/es/form/fields/DateField/DateField.js +14 -14
  76. package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
  77. package/es/form/fields/PhoneField/PhoneField.js +7 -7
  78. package/es/form/fields/RadioField/RadioField.js +21 -15
  79. package/es/form/fields/SelectField/SelectField.js +14 -14
  80. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
  81. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  82. package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
  83. package/es/form/fields/TextEditor/TextEditor.module.css +48 -63
  84. package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
  85. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  86. package/es/form/fields/TextareaField/TextareaField.js +16 -13
  87. package/es/form/fields/TextareaField/props/propTypes.js +1 -0
  88. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
  89. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +22 -2
  90. package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
  91. package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -3
  92. package/es/list/AvatarFlip/AvatarFlip.module.css +2 -2
  93. package/es/list/Comment/Comment.module.css +0 -1
  94. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +4 -2
  95. package/es/list/Dot/Dot.module.css +0 -1
  96. package/es/list/GridStencils/GridStencils.module.css +35 -1
  97. package/es/list/ListLayout/ListLayout.js +4 -5
  98. package/es/list/ListLayout/ListLayout.module.css +0 -6
  99. package/es/list/SecondaryText/AccountName.js +12 -12
  100. package/es/list/SecondaryText/ContactName.js +8 -9
  101. package/es/list/SecondaryText/Email.js +8 -8
  102. package/es/list/SecondaryText/PhoneNumber.js +8 -8
  103. package/es/list/SecondaryText/SecondaryText.js +4 -5
  104. package/es/list/SecondaryText/TicketId.js +7 -7
  105. package/es/list/Subject/Subject.js +7 -7
  106. package/es/list/Subject/Subject.module.css +9 -2
  107. package/es/list/Thread/Thread.module.css +0 -1
  108. package/es/list/status/StatusListItem/StatusListItem.js +5 -5
  109. package/es/list/status/StatusListItem/StatusListItem.module.css +35 -6
  110. package/es/lookup/Lookup/Lookup.js +7 -7
  111. package/es/lookup/Lookup/Lookup.module.css +4 -1
  112. package/es/lookup/Lookup/props/propTypes.js +3 -2
  113. package/es/lookup/header/Close/LookupClose.module.css +3 -2
  114. package/es/lookup/header/Search/Search.js +5 -3
  115. package/es/lookup/header/TicketHeader/TicketHeader.js +88 -73
  116. package/es/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  117. package/es/lookup/header/TicketHeader/props/propTypes.js +2 -1
  118. package/es/lookup/header/Title/LookupTitle.module.css +6 -2
  119. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
  120. package/es/lookup/header/lookupHeaderCommon.module.css +9 -2
  121. package/es/setup/header/Search/Search.module.css +14 -2
  122. package/es/setup/table/Text/TableText.module.css +11 -2
  123. package/es/v1/ActionButton/ActionButton.js +1 -1
  124. package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  125. package/es/v1/Drawer/Drawer.js +6 -7
  126. package/es/v1/ExternalLink/ExternalLink.js +4 -5
  127. package/es/v1/FlipCard/FlipCard.js +15 -13
  128. package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
  129. package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
  130. package/es/v1/IconButton/IconButton.js +4 -5
  131. package/es/v1/Link/Link.js +8 -10
  132. package/es/v1/Loader/Loader.js +1 -1
  133. package/es/v1/Message/Message.js +4 -5
  134. package/es/v1/ToastMessage/ToastMessage.js +4 -6
  135. package/es/v1/actions/AutoClose.js +2 -1
  136. package/es/v1/alert/AlertLookup/AlertLookup.js +16 -16
  137. package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
  138. package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
  139. package/es/v1/avatar/AvatarIcon/AvatarIcon.js +5 -6
  140. package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
  141. package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
  142. package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
  143. package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
  144. package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +39 -27
  145. package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  146. package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  147. package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
  148. package/es/v1/form/fields/CurrencyField/CurrencyField.js +15 -13
  149. package/es/v1/form/fields/DateField/DateField.js +15 -15
  150. package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +14 -13
  151. package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
  152. package/es/v1/form/fields/RadioField/RadioField.js +21 -16
  153. package/es/v1/form/fields/SelectField/SelectField.js +15 -15
  154. package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -11
  155. package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
  156. package/es/v1/form/fields/TextBoxField/TextBoxField.js +15 -15
  157. package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
  158. package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
  159. package/es/v1/form/fields/TextareaField/TextareaField.js +17 -14
  160. package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -0
  161. package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
  162. package/es/v1/list/ListLayout/ListLayout.js +4 -5
  163. package/es/v1/list/SecondaryText/AccountName.js +12 -12
  164. package/es/v1/list/SecondaryText/ContactName.js +8 -9
  165. package/es/v1/list/SecondaryText/Email.js +8 -8
  166. package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
  167. package/es/v1/list/SecondaryText/SecondaryText.js +4 -5
  168. package/es/v1/list/SecondaryText/TicketId.js +7 -7
  169. package/es/v1/list/Subject/Subject.js +7 -7
  170. package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  171. package/es/v1/list/status/StatusListItem/StatusListItem.js +6 -6
  172. package/es/v1/lookup/Lookup/Lookup.js +7 -7
  173. package/es/v1/lookup/Lookup/props/propTypes.js +3 -2
  174. package/es/v1/lookup/header/Search/Search.js +5 -3
  175. package/es/v1/lookup/header/TicketHeader/TicketHeader.js +30 -12
  176. package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  177. package/es/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
  178. package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  179. package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -8
  180. package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  181. package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  182. package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
  183. package/es/version2/GlobalNotification/GlobalNotification.module.css +6 -10
  184. package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +7 -3
  185. package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
  186. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
  187. package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
  188. package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
  189. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  190. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +96 -95
  191. package/lib/ActionButton/ActionButton.module.css +51 -4
  192. package/lib/AlphabeticList/AlphabeticList.module.css +0 -2
  193. package/lib/Attachment/Attachment.module.css +4 -4
  194. package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -2
  195. package/lib/ChannelIcon/ChannelIcon.module.css +10 -5
  196. package/lib/Drawer/Drawer.module.css +3 -3
  197. package/lib/FormAction/FormAction.module.css +18 -1
  198. package/lib/FreezeLayer/FreezeLayer.js +1 -1
  199. package/lib/IconButton/IconButton.module.css +0 -1
  200. package/lib/ImportantNotes/ImportantNotes.module.css +1 -1
  201. package/lib/Message/Message.module.css +1 -1
  202. package/lib/Separator/Separator.module.css +11 -2
  203. package/lib/TagWithIcon/TagWithIcon.module.css +2 -5
  204. package/lib/ToastMessage/ToastMessage.module.css +3 -3
  205. package/lib/alert/AlertHeader/AlertHeader.module.css +4 -2
  206. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
  207. package/lib/avatar/AvatarUser/AvatarUser.module.css +46 -2
  208. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +2 -2
  209. package/lib/common/dot_boxShadow.module.css +2 -0
  210. package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +8 -0
  211. package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  212. package/lib/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  213. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
  214. package/lib/errorstate/EmptyStates.module.css +24 -1
  215. package/lib/form/fields/RadioField/RadioField.js +3 -0
  216. package/lib/form/fields/TextEditor/TextEditor.module.css +48 -63
  217. package/lib/form/fields/TextareaField/TextareaField.js +2 -0
  218. package/lib/form/fields/TextareaField/props/propTypes.js +1 -0
  219. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
  220. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +22 -2
  221. package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -3
  222. package/lib/list/AvatarFlip/AvatarFlip.module.css +2 -2
  223. package/lib/list/Comment/Comment.module.css +0 -1
  224. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +4 -2
  225. package/lib/list/Dot/Dot.module.css +0 -1
  226. package/lib/list/GridStencils/GridStencils.module.css +35 -1
  227. package/lib/list/ListLayout/ListLayout.module.css +0 -6
  228. package/lib/list/Subject/Subject.module.css +9 -2
  229. package/lib/list/Thread/Thread.module.css +0 -1
  230. package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -6
  231. package/lib/lookup/Lookup/Lookup.js +3 -2
  232. package/lib/lookup/Lookup/Lookup.module.css +4 -1
  233. package/lib/lookup/Lookup/props/propTypes.js +3 -2
  234. package/lib/lookup/header/Close/LookupClose.module.css +3 -2
  235. package/lib/lookup/header/TicketHeader/TicketHeader.js +93 -106
  236. package/lib/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  237. package/lib/lookup/header/TicketHeader/props/propTypes.js +2 -1
  238. package/lib/lookup/header/Title/LookupTitle.module.css +6 -2
  239. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +13 -2
  240. package/lib/lookup/header/lookupHeaderCommon.module.css +9 -2
  241. package/lib/setup/header/Search/Search.module.css +14 -2
  242. package/lib/setup/table/Text/TableText.module.css +11 -2
  243. package/lib/v1/ActionButton/ActionButton.js +1 -1
  244. package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
  245. package/lib/v1/Drawer/Drawer.js +2 -2
  246. package/lib/v1/FlipCard/FlipCard.js +1 -1
  247. package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
  248. package/lib/v1/Loader/Loader.js +1 -1
  249. package/lib/v1/ToastMessage/ToastMessage.js +2 -2
  250. package/lib/v1/alert/AlertLookup/AlertLookup.js +1 -1
  251. package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +1 -1
  252. package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +11 -3
  253. package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
  254. package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
  255. package/lib/v1/form/fields/CurrencyField/CurrencyField.js +1 -1
  256. package/lib/v1/form/fields/DateField/DateField.js +1 -1
  257. package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +1 -1
  258. package/lib/v1/form/fields/RadioField/RadioField.js +3 -0
  259. package/lib/v1/form/fields/SelectField/SelectField.js +1 -1
  260. package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -1
  261. package/lib/v1/form/fields/TextBoxField/TextBoxField.js +1 -1
  262. package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -1
  263. package/lib/v1/form/fields/TextareaField/props/propTypes.js +1 -0
  264. package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
  265. package/lib/v1/list/status/StatusListItem/StatusListItem.js +1 -1
  266. package/lib/v1/lookup/Lookup/Lookup.js +3 -2
  267. package/lib/v1/lookup/Lookup/props/propTypes.js +3 -2
  268. package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +37 -12
  269. package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
  270. package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
  271. package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
  272. package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
  273. package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
  274. package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
  275. package/lib/version2/GlobalNotification/GlobalNotification.module.css +6 -10
  276. package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +7 -3
  277. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +8 -2
  278. package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
  279. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +4 -3
  280. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +96 -95
  281. package/package.json +12 -13
  282. package/result.json +1 -1
  283. package/es/v1/DotWrapper/DotWrapper.js +0 -39
  284. package/es/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -1
  285. package/es/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -1
  286. package/es/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -1
  287. package/es/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -1
  288. package/es/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -1
  289. package/es/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -1
  290. package/es/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -1
  291. package/es/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -1
  292. package/es/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -1
  293. package/es/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -24
  294. package/es/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -1
  295. package/es/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -1
  296. package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
  297. package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
  298. package/es/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
  299. package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
  300. package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
  301. package/es/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
  302. package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
  303. package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
  304. package/es/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
  305. package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
  306. package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
  307. package/es/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
  308. package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
  309. package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
  310. package/es/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
  311. package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
  312. package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
  313. package/es/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
  314. package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
  315. package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
  316. package/es/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
  317. package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
  318. package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
  319. package/es/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
  320. package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
  321. package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
  322. package/es/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
  323. package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
  324. package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
  325. package/es/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
  326. package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
  327. package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
  328. package/es/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
  329. package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
  330. package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
  331. package/es/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
  332. package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
  333. package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
  334. package/es/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
  335. package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
  336. package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
  337. package/es/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
  338. package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
  339. package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
  340. package/es/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
  341. package/es/v1/DotWrapper/props/defaultProps.js +0 -6
  342. package/es/v1/DotWrapper/props/propTypes.js +0 -9
  343. package/es/v1/DotWrapper/utils/appearanceProperties.js +0 -46
  344. package/es/v1/DotWrapper/utils/errorMessage.js +0 -7
  345. package/es/v1/DotWrapper/utils/importFiles.js +0 -28
  346. package/es/v1/DotWrapper/utils/sizeProperties.js +0 -12
  347. package/es/v1/DotWrapper/utils/themeProperties.js +0 -220
  348. package/es/v1/Provider/Config.js +0 -20
  349. package/lib/v1/DotWrapper/DotWrapper.js +0 -64
  350. package/lib/v1/DotWrapper/libraryChunks/appearance/component/DarkMode_Component.js +0 -3
  351. package/lib/v1/DotWrapper/libraryChunks/appearance/component/LightMode_Component.js +0 -3
  352. package/lib/v1/DotWrapper/libraryChunks/appearance/component/PureDarkMode_Component.js +0 -3
  353. package/lib/v1/DotWrapper/libraryChunks/appearance/dot/DarkMode_Dot.js +0 -3
  354. package/lib/v1/DotWrapper/libraryChunks/appearance/dot/LightMode_Dot.js +0 -3
  355. package/lib/v1/DotWrapper/libraryChunks/appearance/dot/PureDarkMode_Dot.js +0 -3
  356. package/lib/v1/DotWrapper/libraryChunks/appearance/svg/DarkMode_SVG.js +0 -3
  357. package/lib/v1/DotWrapper/libraryChunks/appearance/svg/LightMode_SVG.js +0 -3
  358. package/lib/v1/DotWrapper/libraryChunks/appearance/svg/PureDarkMode_SVG.js +0 -3
  359. package/lib/v1/DotWrapper/libraryChunks/dynamicImports.js +0 -43
  360. package/lib/v1/DotWrapper/libraryChunks/size/fontSize.js +0 -3
  361. package/lib/v1/DotWrapper/libraryChunks/size/zoomSize.js +0 -3
  362. package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
  363. package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
  364. package/lib/v1/DotWrapper/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
  365. package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
  366. package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
  367. package/lib/v1/DotWrapper/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
  368. package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
  369. package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
  370. package/lib/v1/DotWrapper/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
  371. package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
  372. package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
  373. package/lib/v1/DotWrapper/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
  374. package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
  375. package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
  376. package/lib/v1/DotWrapper/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
  377. package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
  378. package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
  379. package/lib/v1/DotWrapper/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
  380. package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
  381. package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
  382. package/lib/v1/DotWrapper/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
  383. package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
  384. package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
  385. package/lib/v1/DotWrapper/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
  386. package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
  387. package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
  388. package/lib/v1/DotWrapper/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
  389. package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
  390. package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
  391. package/lib/v1/DotWrapper/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
  392. package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
  393. package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
  394. package/lib/v1/DotWrapper/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
  395. package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
  396. package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
  397. package/lib/v1/DotWrapper/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
  398. package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
  399. package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
  400. package/lib/v1/DotWrapper/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
  401. package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
  402. package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
  403. package/lib/v1/DotWrapper/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
  404. package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
  405. package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
  406. package/lib/v1/DotWrapper/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
  407. package/lib/v1/DotWrapper/props/defaultProps.js +0 -13
  408. package/lib/v1/DotWrapper/props/propTypes.js +0 -20
  409. package/lib/v1/DotWrapper/utils/appearanceProperties.js +0 -79
  410. package/lib/v1/DotWrapper/utils/errorMessage.js +0 -14
  411. package/lib/v1/DotWrapper/utils/importFiles.js +0 -35
  412. package/lib/v1/DotWrapper/utils/sizeProperties.js +0 -31
  413. package/lib/v1/DotWrapper/utils/themeProperties.js +0 -325
  414. package/lib/v1/Provider/Config.js +0 -29
  415. /package/es/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
  416. /package/lib/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -31,12 +29,12 @@ export default function AvatarStatus(props) {
31
29
  AvatarStatusProps = {},
32
30
  AvatarProps = {}
33
31
  } = customProps;
34
- return /*#__PURE__*/React.createElement("div", _extends({
35
- className: `${style.container} ${className} `
36
- }, AvatarStatusProps, {
32
+ return /*#__PURE__*/React.createElement("div", {
33
+ className: `${style.container} ${className} `,
34
+ ...AvatarStatusProps,
37
35
  "aria-label": `${title}, ${name}, ${statusTitle}`,
38
36
  "data-selector-id": dataSelectorId
39
- }), /*#__PURE__*/React.createElement(Avatar, _extends({
37
+ }, /*#__PURE__*/React.createElement(Avatar, {
40
38
  src: src,
41
39
  name: name,
42
40
  palette: palette,
@@ -50,8 +48,9 @@ export default function AvatarStatus(props) {
50
48
  shape: shape,
51
49
  needTitle: needTitle,
52
50
  needDefaultBorder: needDefaultBorder,
53
- needBorder: needBorder
54
- }, AvatarProps)), /*#__PURE__*/React.createElement("span", {
51
+ needBorder: needBorder,
52
+ ...AvatarProps
53
+ }), /*#__PURE__*/React.createElement("span", {
55
54
  "data-title": statusTitle,
56
55
  className: `${style.state} ${style[state]} ${style[size]} ${style[shape]}`
57
56
  }));
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -38,10 +36,11 @@ export default function AvatarThread(props) {
38
36
  AvatarProps = {}
39
37
  } = customProps;
40
38
  let hoverEffect = showOnHover ? style.hover : '';
41
- return /*#__PURE__*/React.createElement("div", _extends({
39
+ return /*#__PURE__*/React.createElement("div", {
42
40
  className: `${style.container} ${onClick ? style.pointer : ''} ${hoverEffect}`,
43
- "data-selector-id": dataSelectorId
44
- }, AvatarThreadProps), /*#__PURE__*/React.createElement(Avatar, _extends({
41
+ "data-selector-id": dataSelectorId,
42
+ ...AvatarThreadProps
43
+ }, /*#__PURE__*/React.createElement(Avatar, {
45
44
  initial: initial,
46
45
  src: src,
47
46
  name: name,
@@ -52,8 +51,9 @@ export default function AvatarThread(props) {
52
51
  palette: palette,
53
52
  textPalette: textPalette,
54
53
  customClass: customTextClass,
55
- needTitle: needTitle
56
- }, AvatarProps)), (iconName || getCustomThread) && /*#__PURE__*/React.createElement("span", {
54
+ needTitle: needTitle,
55
+ ...AvatarProps
56
+ }), (iconName || getCustomThread) && /*#__PURE__*/React.createElement("span", {
57
57
  className: `${style.thread} ${onIconClick ? style.pointer : style.defaultCursor} ${needBackground ? style.threadBg : ''} ${style[`thread_${size}_pos`]} ${needBorder ? style[`border_${borderPalette}`] : ''}`,
58
58
  "data-title": iconTitle,
59
59
  "data-id": iconTitle === 'Remove Follower' && 'removeFollower',
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React from 'react';
5
3
  import { defaultProps } from './props/defaultProps';
@@ -49,20 +47,22 @@ export default function AvatarUser(props) {
49
47
  portalTitle = 'End User',
50
48
  lockTitle = 'Locked'
51
49
  } = i18nKeys;
52
- return /*#__PURE__*/React.createElement("div", _extends({
50
+ return /*#__PURE__*/React.createElement("div", {
53
51
  className: `${style.container} ${style[size]}`,
54
52
  "data-id": dataId || name || iconName,
55
53
  "data-test-id": dataId || name || iconName,
56
- "data-selector-id": dataSelectorId
57
- }, AvatarUserProps), iconName ? /*#__PURE__*/React.createElement(AvatarIcon, _extends({
54
+ "data-selector-id": dataSelectorId,
55
+ ...AvatarUserProps
56
+ }, iconName ? /*#__PURE__*/React.createElement(AvatarIcon, {
58
57
  name: iconName,
59
58
  iconSize: iconSize,
60
59
  size: size,
61
60
  iconClass: iconClass,
62
61
  dataId: iconName,
63
62
  iconColor: iconColor,
64
- title: title
65
- }, AvatarIconProps)) : /*#__PURE__*/React.createElement(Avatar, _extends({
63
+ title: title,
64
+ ...AvatarIconProps
65
+ }) : /*#__PURE__*/React.createElement(Avatar, {
66
66
  src: src,
67
67
  name: name,
68
68
  initial: initial,
@@ -73,8 +73,9 @@ export default function AvatarUser(props) {
73
73
  palette: palette,
74
74
  textPalette: textPalette,
75
75
  customClass: customTextClass,
76
- alternateSrc: alternateSrc
77
- }, AvatarProps)), isPaid ? /*#__PURE__*/React.createElement("span", {
76
+ alternateSrc: alternateSrc,
77
+ ...AvatarProps
78
+ }), isPaid ? /*#__PURE__*/React.createElement("span", {
78
79
  "data-title": paidTitle,
79
80
  className: style.paid,
80
81
  "data-id": "paidUser",
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -32,12 +30,13 @@ export default function AvatarWithTeam(props) {
32
30
  Avatar2Props = {},
33
31
  AvatarTeam2Props = {}
34
32
  } = customProps;
35
- return /*#__PURE__*/React.createElement("span", _extends({
33
+ return /*#__PURE__*/React.createElement("span", {
36
34
  className: `${style.container} `,
37
35
  "data-id": "avatarWithTeamId",
38
36
  "data-test-id": "avatarWithTeamId",
39
- "data-selector-id": dataSelectorId
40
- }, AvatarWithTeamProps), isTeam && teamName ? /*#__PURE__*/React.createElement(Avatar, _extends({
37
+ "data-selector-id": dataSelectorId,
38
+ ...AvatarWithTeamProps
39
+ }, isTeam && teamName ? /*#__PURE__*/React.createElement(Avatar, {
41
40
  name: name,
42
41
  src: src,
43
42
  size: size,
@@ -46,8 +45,9 @@ export default function AvatarWithTeam(props) {
46
45
  palette: palette,
47
46
  textPalette: textPalette,
48
47
  customClass: customTextClass,
49
- borderOnActive: borderOnActive
50
- }, Avatar1Props)) : isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, _extends({
48
+ borderOnActive: borderOnActive,
49
+ ...Avatar1Props
50
+ }) : isTeam ? /*#__PURE__*/React.createElement(AvatarTeam, {
51
51
  name: name,
52
52
  src: src,
53
53
  size: size,
@@ -58,8 +58,9 @@ export default function AvatarWithTeam(props) {
58
58
  customClass: {
59
59
  customAvatar: customTextClass
60
60
  },
61
- borderOnActive: borderOnActive
62
- }, AvatarTeam1Props)) : /*#__PURE__*/React.createElement(Avatar, _extends({
61
+ borderOnActive: borderOnActive,
62
+ ...AvatarTeam1Props
63
+ }) : /*#__PURE__*/React.createElement(Avatar, {
63
64
  name: name,
64
65
  src: src,
65
66
  size: size,
@@ -68,13 +69,14 @@ export default function AvatarWithTeam(props) {
68
69
  palette: palette,
69
70
  textPalette: textPalette,
70
71
  customClass: customTextClass,
71
- borderOnActive: borderOnActive
72
- }, Avatar2Props)), teamName ? /*#__PURE__*/React.createElement("span", {
72
+ borderOnActive: borderOnActive,
73
+ ...Avatar2Props
74
+ }), teamName ? /*#__PURE__*/React.createElement("span", {
73
75
  className: `${style.teamAvatar} ${teamClassName} `,
74
76
  "data-id": "teamNameTestId",
75
77
  "data-test-id": "teamNameTestId",
76
78
  "data-title": needTitle ? title : undefined
77
- }, /*#__PURE__*/React.createElement(AvatarTeam, _extends({
79
+ }, /*#__PURE__*/React.createElement(AvatarTeam, {
78
80
  name: teamName,
79
81
  size: "small",
80
82
  palette: palette,
@@ -84,8 +86,9 @@ export default function AvatarWithTeam(props) {
84
86
  customClass: {
85
87
  customAvatar: customTextClass
86
88
  },
87
- borderOnActive: teamBorderActive
88
- }, AvatarTeam2Props))) : null);
89
+ borderOnActive: teamBorderActive,
90
+ ...AvatarTeam2Props
91
+ })) : null);
89
92
  }
90
93
  AvatarWithTeam.defaultProps = defaultProps;
91
94
  AvatarWithTeam.propTypes = propTypes;
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  import React, { Component, Fragment } from 'react';
4
2
  import { defaultProps } from './props/defaultProps';
5
3
  import { propTypes } from './props/propTypes';
@@ -13,13 +11,13 @@ import TextBoxIcon from '@zohodesk/components/es/v1/TextBoxIcon/TextBoxIcon';
13
11
  import Loader from '@zohodesk/svg/lib/Loader/Loader';
14
12
  import CommonEmptyState from '../../emptystate/CommonEmptyState/CommonEmptyState';
15
13
  import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
16
- import CssProvider from '@zohodesk/components/es/v1/Provider/CssProvider';
14
+ import CssProvider from '@zohodesk/components/es/Provider/CssProvider';
17
15
  import { scrollTo, findScrollEnd } from '@zohodesk/components/es/utils/Common';
18
- import { getUniqueId } from '@zohodesk/components/es/v1/Provider/IdProvider';
16
+ import { getUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
19
17
  import btnStyle from '@zohodesk/components/es/semantic/Button/semanticButton.module.css';
20
18
  import RippleEffect from '@zohodesk/components/es/v1/RippleEffect/RippleEffect';
21
19
  import ResponsiveDropBox from '@zohodesk/components/es/v1/ResponsiveDropBox/ResponsiveDropBox';
22
- import { ResponsiveReceiver } from '@zohodesk/components/es/v1/Responsive/CustomResponsive';
20
+ import { ResponsiveReceiver } from '@zohodesk/components/es/Responsive/CustomResponsive';
23
21
  import style from '../../../dropdown/ToggleDropDown/ToggleDropDown.module.css';
24
22
  export class ToggleDropDown extends Component {
25
23
  constructor(props) {
@@ -522,6 +520,10 @@ export class ToggleDropDown extends Component {
522
520
  getFooter,
523
521
  customProps,
524
522
  needMultiLineText,
523
+ isAbsolutePositioningNeeded,
524
+ positionsOffset,
525
+ targetOffset,
526
+ isRestrictScroll,
525
527
  customClass
526
528
  } = this.props;
527
529
  let {
@@ -546,21 +548,22 @@ export class ToggleDropDown extends Component {
546
548
  let listIndex = -1;
547
549
  const ariaTitleId = this.getAriaId(); // const allyOptionsArr = this.getOptionsArray();
548
550
 
549
- return /*#__PURE__*/React.createElement("div", _extends({
551
+ return /*#__PURE__*/React.createElement("div", {
550
552
  className: style.wrapper,
551
553
  onMouseEnter: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.showTogglePopup : undefined,
552
554
  onMouseLeave: showOnHover && !isDisabled && !isReadOnly && isEditable ? this.hideTogglePopup : undefined,
553
- "data-selector-id": dataSelectorId
554
- }, ToggleDropDownProps), /*#__PURE__*/React.createElement(Container, {
555
+ "data-selector-id": dataSelectorId,
556
+ ...ToggleDropDownProps
557
+ }, /*#__PURE__*/React.createElement(Container, {
555
558
  alignBox: "row",
556
559
  onClick: !showOnHover && !isDisabled && !isReadOnly && isEditable && this.handleTogglePopup,
557
560
  eleRef: getTargetRef,
558
561
  align: "vertical",
559
562
  isCover: false,
560
563
  dataId: dataId
561
- }, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component, _extends({}, componentProps, {
564
+ }, children ? isToggleStateNeeded ? /*#__PURE__*/React.createElement(Component, { ...componentProps,
562
565
  isActive: isPopupOpen
563
- })) : children : /*#__PURE__*/React.createElement(RippleEffect, {
566
+ }) : children : /*#__PURE__*/React.createElement(RippleEffect, {
564
567
  hoverType: hoverType,
565
568
  isActive: isPopupOpen,
566
569
  isNeedEffect: isEditable && isNeedEffect
@@ -598,7 +601,7 @@ export class ToggleDropDown extends Component {
598
601
  let {
599
602
  tabletMode
600
603
  } = _ref4;
601
- return /*#__PURE__*/React.createElement(ResponsiveDropBox, _extends({
604
+ return /*#__PURE__*/React.createElement(ResponsiveDropBox, {
602
605
  boxPosition: position,
603
606
  isActive: isPopupReady,
604
607
  onClick: removeClose,
@@ -624,18 +627,22 @@ export class ToggleDropDown extends Component {
624
627
  palette: palette,
625
628
  isResponsivePadding: true,
626
629
  needFocusScope: true,
630
+ isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
631
+ positionsOffset: positionsOffset,
632
+ targetOffset: targetOffset,
633
+ isRestrictScroll: isRestrictScroll,
627
634
  customProps: {
628
635
  focusScopeProps: {
629
636
  loadNextOptions: this.handleGetNextOptions,
630
637
  searchValue: searchValue,
631
638
  isFetchingOptions: isFetchingOptions
632
639
  }
633
- }
634
- }, DropBoxProps, {
640
+ },
641
+ ...DropBoxProps,
635
642
  onClose: this.handleTogglePopup
636
- }), /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
643
+ }, /*#__PURE__*/React.createElement(React.Fragment, null, isSearch ? /*#__PURE__*/React.createElement(Box, {
637
644
  className: style.search
638
- }, /*#__PURE__*/React.createElement(TextBoxIcon, _extends({
645
+ }, /*#__PURE__*/React.createElement(TextBoxIcon, {
639
646
  placeHolder: placeHolderText,
640
647
  onChange: this.handleChange,
641
648
  value: searchValue,
@@ -656,8 +663,9 @@ export class ToggleDropDown extends Component {
656
663
  ariaAutocomplete: 'list',
657
664
  ariaHaspopup: true,
658
665
  ariaExpanded: true
659
- }
660
- }, TextBoxIconProps))) : null, title && options.length != 0 && /*#__PURE__*/React.createElement(Box, {
666
+ },
667
+ ...TextBoxIconProps
668
+ })) : null, title && options.length != 0 && /*#__PURE__*/React.createElement(Box, {
661
669
  className: style.title
662
670
  }, /*#__PURE__*/React.createElement(DropDownHeading, {
663
671
  text: title,
@@ -708,7 +716,7 @@ export class ToggleDropDown extends Component {
708
716
  isDisabled = false
709
717
  } = item;
710
718
  listIndex += 1;
711
- return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({
719
+ return iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
712
720
  key: listIndex,
713
721
  dataId: item[keyName],
714
722
  value: item[keyName],
@@ -734,8 +742,9 @@ export class ToggleDropDown extends Component {
734
742
  role: isSearch ? 'option' : 'menuitem',
735
743
  ariaSelected: selectedId === item[idName],
736
744
  ariaLabel: item[keyName]
737
- }
738
- }, ListItemWithIconProps)) : /*#__PURE__*/React.createElement(ListItem, _extends({
745
+ },
746
+ ...ListItemWithIconProps
747
+ }) : /*#__PURE__*/React.createElement(ListItem, {
739
748
  key: listIndex,
740
749
  dataId: item[keyName],
741
750
  value: item[keyName],
@@ -758,8 +767,9 @@ export class ToggleDropDown extends Component {
758
767
  role: isSearch ? 'option' : 'menuitem',
759
768
  ariaSelected: selectedId === item[idName],
760
769
  ariaLabel: item[keyName]
761
- }
762
- }, ListItemProps));
770
+ },
771
+ ...ListItemProps
772
+ });
763
773
  }));
764
774
  }), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
765
775
  isCover: false,
@@ -783,7 +793,7 @@ export class ToggleDropDown extends Component {
783
793
  key: i
784
794
  }, needDivider ? /*#__PURE__*/React.createElement("div", {
785
795
  className: style.seperatedLine
786
- }) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, _extends({
796
+ }) : iconName ? /*#__PURE__*/React.createElement(ListItemWithIcon, {
787
797
  dataId: item[keyName],
788
798
  value: item[keyName],
789
799
  id: item[idName],
@@ -809,8 +819,9 @@ export class ToggleDropDown extends Component {
809
819
  role: isSearch ? 'option' : 'menuitem',
810
820
  ariaSelected: selectedId === item[idName],
811
821
  ariaLabel: item[keyName]
812
- }
813
- }, ListItemWithIconProps)) : /*#__PURE__*/React.createElement(ListItem, _extends({
822
+ },
823
+ ...ListItemWithIconProps
824
+ }) : /*#__PURE__*/React.createElement(ListItem, {
814
825
  key: listIndex,
815
826
  dataId: item[keyName],
816
827
  value: item[keyName],
@@ -833,8 +844,9 @@ export class ToggleDropDown extends Component {
833
844
  role: isSearch ? 'option' : 'menuitem',
834
845
  ariaSelected: selectedId === item[idName],
835
846
  ariaLabel: item[keyName]
836
- }
837
- }, ListItemProps)));
847
+ },
848
+ ...ListItemProps
849
+ }));
838
850
  }), isFetchingOptions && /*#__PURE__*/React.createElement(Container, {
839
851
  isCover: false,
840
852
  align: "both"
@@ -23,5 +23,7 @@ export const defaultProps = {
23
23
  preventPopupClose: false,
24
24
  dataSelectorId: 'toggleDropdown',
25
25
  needMultiLineText: false,
26
+ isAbsolutePositioningNeeded: true,
27
+ isRestrictScroll: false,
26
28
  customClass: {}
27
29
  };
@@ -74,6 +74,10 @@ export const propTypes = {
74
74
  customListBox: PropTypes.string
75
75
  }),
76
76
  onSelectLabel: PropTypes.func,
77
+ isAbsolutePositioningNeeded: PropTypes.bool,
78
+ isRestrictScroll: PropTypes.bool,
79
+ positionsOffset: PropTypes.object,
80
+ targetOffset: PropTypes.object,
77
81
  from: PropTypes.string,
78
82
  top: PropTypes.number
79
83
  };
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React, { memo } from 'react';
5
3
  import { defaultProps } from './props/defaultProps';
@@ -58,7 +56,7 @@ function CheckBoxField(props) {
58
56
  lockedInfoText: lockedInfoText,
59
57
  infoText: infoText,
60
58
  renderProps: renderLabelProps
61
- }, /*#__PURE__*/React.createElement(Label, _extends({
59
+ }, /*#__PURE__*/React.createElement(Label, {
62
60
  text: labelName,
63
61
  id: id,
64
62
  size: fieldSize === 'small' ? 'small' : 'medium',
@@ -68,8 +66,9 @@ function CheckBoxField(props) {
68
66
  title: labelName,
69
67
  onClick: !removeEvent ? handleLabelClick : null,
70
68
  variant: isDirectCol ? 'default' : 'primary',
71
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
72
- }, LabelProps)));
69
+ dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
70
+ ...LabelProps
71
+ }));
73
72
 
74
73
  function handleChange(value) {
75
74
  onChange && onChange(id, value);
@@ -95,27 +94,30 @@ function CheckBoxField(props) {
95
94
  align: "top"
96
95
  }, /*#__PURE__*/React.createElement(Box, {
97
96
  className: isDirectCol ? style.checkbox : style.checkboxRow
98
- }, /*#__PURE__*/React.createElement(CheckBox, _extends({
97
+ }, /*#__PURE__*/React.createElement(CheckBox, {
99
98
  id: id,
100
99
  onChange: handleChange,
101
100
  disabled: removeEvent,
102
101
  checked: checked,
103
102
  getRef: handleGetRef,
104
103
  dataId: dataId,
105
- getContainerRef: getContainerRef
106
- }, CheckBoxProps))), !isDirectCol && /*#__PURE__*/React.createElement(Box, {
104
+ getContainerRef: getContainerRef,
105
+ ...CheckBoxProps
106
+ })), !isDirectCol && /*#__PURE__*/React.createElement(Box, {
107
107
  flexible: true
108
- }, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
108
+ }, labelElement)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
109
109
  text: validationMessage,
110
110
  palette: validationPalette,
111
111
  type: errorType,
112
- dataId: `${dataId}_ValidationMessage`
113
- }, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
112
+ dataId: `${dataId}_ValidationMessage`,
113
+ ...ValidationMessageProps1
114
+ }), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
114
115
  text: validationRuleMessage,
115
116
  palette: validationRulePalette,
116
117
  type: errorType,
117
- dataId: `${dataId}_ValidationRuleMessage`
118
- }, ValidationMessageProps2))));
118
+ dataId: `${dataId}_ValidationRuleMessage`,
119
+ ...ValidationMessageProps2
120
+ })));
119
121
  }
120
122
 
121
123
  CheckBoxField.propTypes = propTypes;
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React, { memo, useRef, useState } from 'react';
5
3
  import { defaultProps } from './props/defaultProps';
@@ -9,7 +7,7 @@ import { propTypes } from './props/propTypes';
9
7
  import Label from '@zohodesk/components/es/v1/Label/Label';
10
8
  import TextBox from '@zohodesk/components/es/v1/TextBox/TextBox';
11
9
  import ValidationMessage from '../ValidationMessage/ValidationMessage';
12
- import { useUniqueId } from '@zohodesk/components/es/v1/Provider/IdProvider';
10
+ import { useUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
13
11
  import FieldContainer from '../FieldContainer/FieldContainer';
14
12
  /**** CSS ****/
15
13
 
@@ -103,16 +101,17 @@ function CurrencyField(props) {
103
101
  isLocked: isLocked,
104
102
  lockedInfoText: lockedInfoText,
105
103
  renderProps: renderLabelProps
106
- }, /*#__PURE__*/React.createElement(Label, _extends({
104
+ }, /*#__PURE__*/React.createElement(Label, {
107
105
  text: labelName,
108
106
  size: fieldSize === 'small' ? 'small' : 'medium',
109
107
  palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
110
108
  customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
111
109
  htmlFor: uniqueId,
112
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
113
- }, LabelProps))), /*#__PURE__*/React.createElement("div", {
110
+ dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
111
+ ...LabelProps
112
+ })), /*#__PURE__*/React.createElement("div", {
114
113
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
115
- }, /*#__PURE__*/React.createElement(TextBox, _extends({
114
+ }, /*#__PURE__*/React.createElement(TextBox, {
116
115
  htmlId: uniqueId,
117
116
  id: id,
118
117
  type: textBoxType,
@@ -132,20 +131,23 @@ function CurrencyField(props) {
132
131
  isDisabled: isDisabled,
133
132
  needEffect: isReadOnly || isDisabled ? false : true,
134
133
  isClickable: isClickable,
135
- needReadOnlyStyle: needReadOnlyStyle
136
- }, TextBoxProps)), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
134
+ needReadOnlyStyle: needReadOnlyStyle,
135
+ ...TextBoxProps
136
+ }), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
137
137
  text: validationMessage,
138
138
  palette: validationPalette,
139
139
  type: errorType,
140
140
  dataId: `${dataId}_ValidationMessage`,
141
- htmlFor: uniqueId
142
- }, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
141
+ htmlFor: uniqueId,
142
+ ...ValidationMessageProps1
143
+ }), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
143
144
  text: validationRuleMessage,
144
145
  palette: validationRulePalette,
145
146
  type: errorType,
146
147
  htmlFor: uniqueId,
147
- dataId: `${dataId}_ValidationRuleMessage`
148
- }, ValidationMessageProps2))));
148
+ dataId: `${dataId}_ValidationRuleMessage`,
149
+ ...ValidationMessageProps2
150
+ })));
149
151
  }
150
152
 
151
153
  CurrencyField.propTypes = propTypes;
@@ -1,5 +1,3 @@
1
- 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); }
2
-
3
1
  /**** Libraries ****/
4
2
  import React, { memo, useEffect, useRef } from 'react';
5
3
  import { defaultProps } from './props/defaultProps';
@@ -9,7 +7,7 @@ import { propTypes } from './props/propTypes';
9
7
  import Label from '@zohodesk/components/es/v1/Label/Label';
10
8
  import DateWidget from '@zohodesk/components/es/v1/DateTime/DateWidget';
11
9
  import ValidationMessage from '../ValidationMessage/ValidationMessage';
12
- import { useUniqueId } from '@zohodesk/components/es/v1/Provider/IdProvider';
10
+ import { useUniqueId } from '@zohodesk/components/es/Provider/IdProvider';
13
11
  import FieldContainer from '../FieldContainer/FieldContainer';
14
12
  /**** CSS ****/
15
13
 
@@ -103,21 +101,21 @@ function DateField(props) {
103
101
  isLocked: isLocked,
104
102
  lockedInfoText: lockedInfoText,
105
103
  renderProps: renderLabelProps
106
- }, /*#__PURE__*/React.createElement(Label, _extends({
104
+ }, /*#__PURE__*/React.createElement(Label, {
107
105
  text: labelName,
108
106
  htmlFor: getAriaId,
109
107
  size: fieldSize === 'small' ? 'small' : 'medium',
110
108
  palette: isMandatory ? 'mandatory' : isDisabled ? 'primary' : labelPalette,
111
109
  onClick: isDisabled || isReadOnly ? null : handleLabelClick,
112
110
  customClass: `${style.fieldLabel} ${labelCustomClass} ${isMandatory ? style.labelMandatory : ''}`,
113
- dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`
114
- }, LabelProps, {
111
+ dataId: isDisabled ? `${dataId}_label_disabled` : isMandatory ? `${dataId}_label_mandatory` : `${dataId}_label`,
112
+ ...LabelProps,
115
113
  id: labelName
116
- }))), /*#__PURE__*/React.createElement("div", {
114
+ })), /*#__PURE__*/React.createElement("div", {
117
115
  className: `${style.fieldContainer} ${labelName ? style[`fieldMargin_${fieldSize}`] : ''}`
118
116
  }, isLocked && lockedValueText ? /*#__PURE__*/React.createElement("div", {
119
117
  className: style.lockText
120
- }, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget, _extends({
118
+ }, lockedValueText) : /*#__PURE__*/React.createElement(DateWidget, {
121
119
  textBoxSize: fieldSize === 'medium' ? textBoxSize : 'xsmall',
122
120
  textBoxVariant: textBoxVariant,
123
121
  isDateTime: isDateTime,
@@ -135,24 +133,26 @@ function DateField(props) {
135
133
  isEditable: true,
136
134
  htmlId: getAriaId,
137
135
  i18nKeys: i18nKeys,
138
- iconOnHover: iconOnHover
139
- }, DateWidgetProps, {
136
+ iconOnHover: iconOnHover,
137
+ ...DateWidgetProps,
140
138
  a11y: {
141
139
  ariaLabelledby: labelName
142
140
  }
143
- })), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
141
+ }), validationMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
144
142
  text: validationMessage,
145
143
  palette: validationPalette,
146
144
  type: errorType,
147
145
  htmlFor: getAriaId,
148
- dataId: `${dataId}_ValidationMessage`
149
- }, ValidationMessageProps1)), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, _extends({
146
+ dataId: `${dataId}_ValidationMessage`,
147
+ ...ValidationMessageProps1
148
+ }), validationRuleMessage && /*#__PURE__*/React.createElement(ValidationMessage, {
150
149
  text: validationRuleMessage,
151
150
  palette: validationRulePalette,
152
151
  type: errorType,
153
152
  htmlFor: getAriaId,
154
- dataId: `${dataId}_ValidationRuleMessage`
155
- }, ValidationMessageProps2))));
153
+ dataId: `${dataId}_ValidationRuleMessage`,
154
+ ...ValidationMessageProps2
155
+ })));
156
156
  }
157
157
 
158
158
  DateField.propTypes = propTypes;