@zohodesk/dot 1.0.0-temp-143 → 1.0.0-temp-145

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 (311) hide show
  1. package/README.md +1233 -1232
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +303 -293
  3. package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +9 -9
  4. package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +9 -9
  5. package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +9 -9
  6. package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +9 -9
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +9 -9
  8. package/assets/Appearance/default/mode/dotDefaultMode.module.css +298 -288
  9. package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +9 -9
  10. package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +9 -9
  11. package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +9 -9
  12. package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +9 -9
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +9 -9
  14. package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +306 -296
  15. package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +9 -9
  16. package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +9 -9
  17. package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +9 -9
  18. package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +9 -9
  19. package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +9 -9
  20. package/dubFinder.js +96 -96
  21. package/es/ActionButton/ActionButton.module.css +139 -139
  22. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  23. package/es/Attachment/Attachment.module.css +157 -157
  24. package/es/AttachmentViewer/AttachmentViewer.module.css +354 -353
  25. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  26. package/es/Drawer/Drawer.js +3 -2
  27. package/es/Drawer/Drawer.module.css +150 -189
  28. package/es/ExternalLink/ExternalLink.js +0 -0
  29. package/es/ExternalLink/ExternalLink.module.css +3 -3
  30. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  31. package/es/FlipCard/FlipCard.module.css +44 -44
  32. package/es/FormAction/FormAction.module.css +82 -82
  33. package/es/FreezeLayer/FreezeLayer.js +7 -2
  34. package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
  35. package/es/FreezeLayer/useFreezeLayer.js +5 -3
  36. package/es/Hooks/Dragger/css/Dragger.module.css +3 -0
  37. package/es/Hooks/Dragger/useDragger.js +74 -0
  38. package/es/Hooks/Dragger/utils/DraggerUtil.js +33 -0
  39. package/es/IconButton/IconButton.module.css +22 -22
  40. package/es/Image/Image.module.css +10 -10
  41. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  42. package/es/Link/Link.js +3 -2
  43. package/es/Link/Link.module.css +3 -3
  44. package/es/Loader/Loader.module.css +46 -46
  45. package/es/Message/Message.module.css +102 -102
  46. package/es/MessageBanner/MessageBanner.module.css +46 -46
  47. package/es/NewStar/NewStar.module.css +175 -175
  48. package/es/PlusIcon/PlusIcon.js +0 -0
  49. package/es/PlusIcon/PlusIcon.module.css +16 -19
  50. package/es/Provider/Config.js +2 -1
  51. package/es/Separator/Separator.module.css +34 -34
  52. package/es/ToastMessage/ToastMessage.js +2 -5
  53. package/es/ToastMessage/ToastMessage.module.css +328 -329
  54. package/es/Upload/Upload.module.css +125 -125
  55. package/es/actions/AutoClose.js +2 -5
  56. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  57. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  58. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  59. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  60. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  61. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  62. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  63. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  64. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  65. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  66. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  67. package/es/common/dot_animation.module.css +26 -26
  68. package/es/common/dot_common.module.css +3 -3
  69. package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  70. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  71. package/es/deprecated/utils/KeyboardApi.js +25 -25
  72. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  73. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  74. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  75. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  76. package/es/errorstate/EmptyStates.module.css +87 -87
  77. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  78. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  79. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  80. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  81. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  82. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  83. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  84. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  85. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  86. package/es/form/fields/Fields.module.css +183 -183
  87. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  88. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  89. package/es/form/fields/TextEditor/TextEditor.module.css +666 -764
  90. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  91. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  92. package/es/form/layout/Field/Field.js +0 -0
  93. package/es/form/layout/Field/Field.module.css +22 -22
  94. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  95. package/es/form/layout/Section/Section.js +0 -0
  96. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  97. package/es/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  98. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  99. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  100. package/es/list/Comment/Comment.module.css +29 -29
  101. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  102. package/es/list/Dot/Dot.module.css +15 -15
  103. package/es/list/DotNew/DotNew.module.css +22 -25
  104. package/es/list/GridStencils/GridStencils.module.css +146 -146
  105. package/es/list/Icons/Icons.module.css +16 -16
  106. package/es/list/ListLayout/ListLayout.module.css +57 -57
  107. package/es/list/ListStencils/ListStencils.module.css +67 -67
  108. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  109. package/es/list/SecondaryText/Website.js +0 -0
  110. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  111. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  112. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  113. package/es/list/Subject/Subject.module.css +27 -27
  114. package/es/list/TagNew/TagNew.module.css +115 -117
  115. package/es/list/Thread/Thread.module.css +42 -42
  116. package/es/list/UserTime/UserTime.module.css +58 -58
  117. package/es/list/listCommon.module.css +60 -60
  118. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  119. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  120. package/es/list/status/StatusListItem/StatusListItem.module.css +109 -109
  121. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  122. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  123. package/es/lookup/Lookup/Lookup.js +0 -0
  124. package/es/lookup/Lookup/Lookup.module.css +26 -26
  125. package/es/lookup/Section/LookupSection.module.css +8 -8
  126. package/es/lookup/Section/Section.js +1 -0
  127. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  128. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  129. package/es/lookup/header/Search/Search.js +5 -8
  130. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  131. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  132. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  133. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  134. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  135. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  136. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  137. package/es/setup/header/Search/Search.module.css +68 -68
  138. package/es/setup/header/Views/Views.module.css +37 -37
  139. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  140. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  141. package/es/setup/helptips/Link/Link.js +0 -0
  142. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  143. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  144. package/es/setup/helptips/Title/Title.js +0 -0
  145. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  146. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  147. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  148. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  149. package/es/setup/table/Text/TableText.module.css +37 -37
  150. package/es/setup/table/Text/Text.js +0 -0
  151. package/es/svg/PlusIcon.js +1 -1
  152. package/es/svg/SnippetIcon.js +2 -2
  153. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  154. package/es/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  155. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  156. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  157. package/es/version2/lookup/AlertHeader/AlertHeader.js +2 -1
  158. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -86
  159. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  160. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  161. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  162. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  163. package/install.md +12 -12
  164. package/lib/ActionButton/ActionButton.module.css +139 -139
  165. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  166. package/lib/Attachment/Attachment.module.css +157 -157
  167. package/lib/AttachmentViewer/AttachmentViewer.module.css +354 -353
  168. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  169. package/lib/Drawer/Drawer.js +3 -2
  170. package/lib/Drawer/Drawer.module.css +150 -189
  171. package/lib/ExternalLink/ExternalLink.js +0 -0
  172. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  173. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  174. package/lib/FlipCard/FlipCard.module.css +44 -44
  175. package/lib/FormAction/FormAction.module.css +82 -82
  176. package/lib/FreezeLayer/FreezeLayer.js +10 -2
  177. package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
  178. package/lib/FreezeLayer/useFreezeLayer.js +4 -2
  179. package/lib/Hooks/Dragger/css/Dragger.module.css +3 -0
  180. package/lib/Hooks/Dragger/useDragger.js +80 -0
  181. package/lib/Hooks/Dragger/utils/DraggerUtil.js +65 -0
  182. package/lib/IconButton/IconButton.module.css +22 -22
  183. package/lib/Image/Image.module.css +10 -10
  184. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  185. package/lib/Link/Link.js +3 -2
  186. package/lib/Link/Link.module.css +3 -3
  187. package/lib/Loader/Loader.module.css +46 -46
  188. package/lib/Message/Message.module.css +102 -102
  189. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  190. package/lib/NewStar/NewStar.module.css +175 -175
  191. package/lib/PlusIcon/PlusIcon.js +0 -0
  192. package/lib/PlusIcon/PlusIcon.module.css +16 -19
  193. package/lib/Provider/Config.js +2 -1
  194. package/lib/Separator/Separator.module.css +34 -34
  195. package/lib/ToastMessage/ToastMessage.js +2 -5
  196. package/lib/ToastMessage/ToastMessage.module.css +328 -329
  197. package/lib/Upload/Upload.module.css +125 -125
  198. package/lib/actions/AutoClose.js +2 -5
  199. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  200. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  201. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  202. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  203. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  204. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
  205. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  206. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  207. package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
  208. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  209. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  210. package/lib/common/dot_animation.module.css +26 -26
  211. package/lib/common/dot_common.module.css +3 -3
  212. package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
  213. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  214. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  215. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
  216. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  217. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  218. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  219. package/lib/errorstate/EmptyStates.module.css +87 -87
  220. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  221. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  222. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  223. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  224. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  225. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  226. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  227. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  228. package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  229. package/lib/form/fields/Fields.module.css +183 -183
  230. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  231. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  232. package/lib/form/fields/TextEditor/TextEditor.module.css +666 -764
  233. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  234. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  235. package/lib/form/layout/Field/Field.js +0 -0
  236. package/lib/form/layout/Field/Field.module.css +22 -22
  237. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  238. package/lib/form/layout/Section/Section.js +0 -0
  239. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  240. package/lib/layout/SubtabLayout/SubtabLayout.module.css +146 -165
  241. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  242. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  243. package/lib/list/Comment/Comment.module.css +29 -29
  244. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  245. package/lib/list/Dot/Dot.module.css +15 -15
  246. package/lib/list/DotNew/DotNew.module.css +22 -25
  247. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  248. package/lib/list/Icons/Icons.module.css +16 -16
  249. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  250. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  251. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  252. package/lib/list/SecondaryText/Website.js +0 -0
  253. package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
  254. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  255. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  256. package/lib/list/Subject/Subject.module.css +27 -27
  257. package/lib/list/TagNew/TagNew.module.css +115 -117
  258. package/lib/list/Thread/Thread.module.css +42 -42
  259. package/lib/list/UserTime/UserTime.module.css +58 -58
  260. package/lib/list/listCommon.module.css +60 -60
  261. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  262. package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
  263. package/lib/list/status/StatusListItem/StatusListItem.module.css +109 -109
  264. package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
  265. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  266. package/lib/lookup/Lookup/Lookup.js +0 -0
  267. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  268. package/lib/lookup/Section/LookupSection.module.css +8 -8
  269. package/lib/lookup/Section/Section.js +1 -0
  270. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  271. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  272. package/lib/lookup/header/Search/Search.js +5 -10
  273. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  274. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  275. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  276. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  277. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  278. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  279. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  280. package/lib/setup/header/Search/Search.module.css +68 -68
  281. package/lib/setup/header/Views/Views.module.css +37 -37
  282. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  283. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  284. package/lib/setup/helptips/Link/Link.js +0 -0
  285. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  286. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  287. package/lib/setup/helptips/Title/Title.js +0 -0
  288. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  289. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  290. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  291. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  292. package/lib/setup/table/Text/TableText.module.css +37 -37
  293. package/lib/setup/table/Text/Text.js +0 -0
  294. package/lib/svg/PlusIcon.js +1 -1
  295. package/lib/svg/SnippetIcon.js +2 -2
  296. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  297. package/lib/version2/GlobalNotification/GlobalNotification.module.css +124 -127
  298. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  299. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  300. package/lib/version2/lookup/AlertHeader/AlertHeader.js +2 -1
  301. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +87 -86
  302. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  303. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  304. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +106 -127
  305. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  306. package/package.json +106 -98
  307. package/css_error.log +0 -1
  308. package/es/common/dot_boxShadow.module.css +0 -38
  309. package/es/common/dot_docStyle.module.css +0 -35
  310. package/lib/common/dot_boxShadow.module.css +0 -38
  311. package/lib/common/dot_docStyle.module.css +0 -35
@@ -1,46 +1,46 @@
1
- .type_secondary {
2
- max-width: var(--zd_size468);
3
- border-radius: 3px;
4
- margin: 0 auto;
5
- }
6
- .message {
7
- color: var(--zdt_messagebanner_text);
8
- composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
- padding: var(--zd_size10) 0;
10
- }
11
- [dir=ltr] .message {
12
- margin-left: var(--zd_size10);
13
- }
14
- [dir=rtl] .message {
15
- margin-right: var(--zd_size10);
16
- }
17
- .link {
18
- color: var(--zdt_messagebanner_link_text);
19
- }
20
- [dir=ltr] .link {
21
- margin-left: var(--zd_size5);
22
- }
23
- [dir=rtl] .link {
24
- margin-right: var(--zd_size5);
25
- }
26
- .message,.link{font-size: var(--zd_font_size14);}
27
- .close {
28
- color: var(--zdt_messagebanner_close_text);
29
- cursor: pointer;
30
- }
31
- .type_primary .close:hover {
32
- background: var(--zdt_messagebanner_close_hover_bg);
33
- }
34
- .close:hover {
35
- color: var(--zdt_messagebanner_close_hover_text);
36
- }
37
-
38
- .palette_default {
39
- background: var(--zdt_messagebanner_default_bg);
40
- }
41
- .palette_blue {
42
- background: var(--zdt_messagebanner_blue_bg);
43
- }
44
- .palette_white {
45
- background: var(--zdt_messagebanner_white_text);
46
- }
1
+ .type_secondary {
2
+ max-width: var(--zd_size468);
3
+ border-radius: 3px;
4
+ margin: 0 auto;
5
+ }
6
+ .message {
7
+ color: var(--zdt_messagebanner_text);
8
+ composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
9
+ padding: var(--zd_size10) 0;
10
+ }
11
+ [dir=ltr] .message {
12
+ margin-left: var(--zd_size10);
13
+ }
14
+ [dir=rtl] .message {
15
+ margin-right: var(--zd_size10);
16
+ }
17
+ .link {
18
+ color: var(--zdt_messagebanner_link_text);
19
+ }
20
+ [dir=ltr] .link {
21
+ margin-left: var(--zd_size5);
22
+ }
23
+ [dir=rtl] .link {
24
+ margin-right: var(--zd_size5);
25
+ }
26
+ .message,.link{font-size: var(--zd_font_size14);}
27
+ .close {
28
+ color: var(--zdt_messagebanner_close_text);
29
+ cursor: pointer;
30
+ }
31
+ .type_primary .close:hover {
32
+ background: var(--zdt_messagebanner_close_hover_bg);
33
+ }
34
+ .close:hover {
35
+ color: var(--zdt_messagebanner_close_hover_text);
36
+ }
37
+
38
+ .palette_default {
39
+ background: var(--zdt_messagebanner_default_bg);
40
+ }
41
+ .palette_blue {
42
+ background: var(--zdt_messagebanner_blue_bg);
43
+ }
44
+ .palette_white {
45
+ background: var(--zdt_messagebanner_white_text);
46
+ }
@@ -1,175 +1,175 @@
1
- .star {
2
- position: absolute;
3
- height: var(--zd_size20);
4
- width: var(--zd_size21);
5
- }
6
- .topLeft {
7
- top: 0;
8
- }
9
- [dir=ltr] .topLeft {
10
- transform: translate(-45%, -45%);
11
- left: 0;
12
- }
13
- [dir=rtl] .topLeft {
14
- transform: translate(45%, -45%);
15
- right: 0;
16
- }
17
- .topRight {
18
- top: 0;
19
- }
20
- [dir=ltr] .topRight {
21
- transform: translate(45%, -45%);
22
- right: 0;
23
- }
24
- [dir=rtl] .topRight {
25
- transform: translate(-45%, -45%);
26
- left: 0;
27
- }
28
- .bottomLeft {
29
- bottom: 0;
30
- }
31
- [dir=ltr] .bottomLeft {
32
- transform: translate(-45%, 45%);
33
- left: 0;
34
- }
35
- [dir=rtl] .bottomLeft {
36
- transform: translate(45%, 45%);
37
- right: 0;
38
- }
39
- .bottomRight {
40
- bottom: 0;
41
- }
42
- [dir=ltr] .bottomRight {
43
- transform: translate(45%, 45%);
44
- right: 0;
45
- }
46
- [dir=rtl] .bottomRight {
47
- transform: translate(-45%, 45%);
48
- left: 0;
49
- }
50
-
51
- .stars {
52
- position: absolute;
53
- }
54
-
55
- [dir=ltr] .stars {
56
- animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
57
- }
58
-
59
- [dir=rtl] .stars {
60
- animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
61
- }
62
- .green::before {
63
- color: var(--zdt_newstar_green_text);
64
- }
65
- .yellow::before {
66
- color: var(--zdt_newstar_yellow_text);
67
- }
68
- .blue::before {
69
- color: var(--zdt_newstar_blue_text);
70
- }
71
- .starOne {
72
- composes: stars;
73
- }
74
- .starTwo {
75
- composes: stars;
76
- }
77
- [dir=ltr] .starTwo {
78
- animation-delay: 0.5s;
79
- }
80
- [dir=rtl] .starTwo {
81
- animation-delay: 0.5s;
82
- }
83
- .starThree {
84
- composes: stars;
85
- }
86
- [dir=ltr] .starThree {
87
- animation-delay: 1s;
88
- }
89
- [dir=rtl] .starThree {
90
- animation-delay: 1s;
91
- }
92
-
93
- .topLeft .starOne{top:0}
94
-
95
- [dir=ltr] .topLeft .starOne{
96
- left:0}
97
-
98
- [dir=rtl] .topLeft .starOne{right:0}
99
- .topLeft .starTwo{top:0}
100
- [dir=ltr] .topLeft .starTwo{
101
- left:10px}
102
- [dir=rtl] .topLeft .starTwo{right:10px}
103
- .topLeft .starThree{top:10px}
104
- [dir=ltr] .topLeft .starThree{
105
- left:0}
106
- [dir=rtl] .topLeft .starThree{right:0}
107
-
108
- .topRight .starOne{top:0}
109
-
110
- [dir=ltr] .topRight .starOne{
111
- right:0}
112
-
113
- [dir=rtl] .topRight .starOne{left:0}
114
- .topRight .starTwo{top:0}
115
- [dir=ltr] .topRight .starTwo{
116
- right:10px}
117
- [dir=rtl] .topRight .starTwo{left:10px}
118
- .topRight .starThree{top:10px}
119
- [dir=ltr] .topRight .starThree{
120
- right:0}
121
- [dir=rtl] .topRight .starThree{left:0}
122
-
123
- .bottomLeft .starOne{bottom:0}
124
-
125
- [dir=ltr] .bottomLeft .starOne{
126
- left:0}
127
-
128
- [dir=rtl] .bottomLeft .starOne{right:0}
129
- .bottomLeft .starTwo{bottom:0}
130
- [dir=ltr] .bottomLeft .starTwo{
131
- left:10px}
132
- [dir=rtl] .bottomLeft .starTwo{right:10px}
133
- .bottomLeft .starThree{bottom:10px}
134
- [dir=ltr] .bottomLeft .starThree{
135
- left:0}
136
- [dir=rtl] .bottomLeft .starThree{right:0}
137
-
138
- .bottomRight .starOne{bottom:0}
139
-
140
- [dir=ltr] .bottomRight .starOne{
141
- right:0}
142
-
143
- [dir=rtl] .bottomRight .starOne{left:0}
144
- .bottomRight .starTwo{bottom:0}
145
- [dir=ltr] .bottomRight .starTwo{
146
- right:10px}
147
- [dir=rtl] .bottomRight .starTwo{left:10px}
148
- .bottomRight .starThree{bottom:10px}
149
- [dir=ltr] .bottomRight .starThree{
150
- right:0}
151
- [dir=rtl] .bottomRight .starThree{left:0}
152
-
153
- @keyframes twinkle {
154
- 0% {
155
- opacity: 0.5;
156
- }
157
- 50% {
158
- opacity: 1;
159
- }
160
- 100% {
161
- opacity: 0.6;
162
- }
163
- }
164
-
165
- @keyframes star-scale {
166
- 0% {
167
- transform: perspective(1px) scale(0.7);
168
- }
169
- 50% {
170
- transform: perspective(1px) scale(1, 1);
171
- }
172
- 100% {
173
- transform: perspective(1px) scale(0.7);
174
- }
175
- }
1
+ .star {
2
+ position: absolute;
3
+ height: var(--zd_size20);
4
+ width: var(--zd_size21);
5
+ }
6
+ .topLeft {
7
+ top: 0;
8
+ }
9
+ [dir=ltr] .topLeft {
10
+ transform: translate(-45%, -45%);
11
+ left: 0;
12
+ }
13
+ [dir=rtl] .topLeft {
14
+ transform: translate(45%, -45%);
15
+ right: 0;
16
+ }
17
+ .topRight {
18
+ top: 0;
19
+ }
20
+ [dir=ltr] .topRight {
21
+ transform: translate(45%, -45%);
22
+ right: 0;
23
+ }
24
+ [dir=rtl] .topRight {
25
+ transform: translate(-45%, -45%);
26
+ left: 0;
27
+ }
28
+ .bottomLeft {
29
+ bottom: 0;
30
+ }
31
+ [dir=ltr] .bottomLeft {
32
+ transform: translate(-45%, 45%);
33
+ left: 0;
34
+ }
35
+ [dir=rtl] .bottomLeft {
36
+ transform: translate(45%, 45%);
37
+ right: 0;
38
+ }
39
+ .bottomRight {
40
+ bottom: 0;
41
+ }
42
+ [dir=ltr] .bottomRight {
43
+ transform: translate(45%, 45%);
44
+ right: 0;
45
+ }
46
+ [dir=rtl] .bottomRight {
47
+ transform: translate(-45%, 45%);
48
+ left: 0;
49
+ }
50
+
51
+ .stars {
52
+ position: absolute;
53
+ }
54
+
55
+ [dir=ltr] .stars {
56
+ animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
57
+ }
58
+
59
+ [dir=rtl] .stars {
60
+ animation: twinkle var(--zd_transition4) infinite, star-scale var(--zd_transition10) infinite;
61
+ }
62
+ .green::before {
63
+ color: var(--zdt_newstar_green_text);
64
+ }
65
+ .yellow::before {
66
+ color: var(--zdt_newstar_yellow_text);
67
+ }
68
+ .blue::before {
69
+ color: var(--zdt_newstar_blue_text);
70
+ }
71
+ .starOne {
72
+ composes: stars;
73
+ }
74
+ .starTwo {
75
+ composes: stars;
76
+ }
77
+ [dir=ltr] .starTwo {
78
+ animation-delay: 0.5s;
79
+ }
80
+ [dir=rtl] .starTwo {
81
+ animation-delay: 0.5s;
82
+ }
83
+ .starThree {
84
+ composes: stars;
85
+ }
86
+ [dir=ltr] .starThree {
87
+ animation-delay: 1s;
88
+ }
89
+ [dir=rtl] .starThree {
90
+ animation-delay: 1s;
91
+ }
92
+
93
+ .topLeft .starOne{top:0}
94
+
95
+ [dir=ltr] .topLeft .starOne{
96
+ left:0}
97
+
98
+ [dir=rtl] .topLeft .starOne{right:0}
99
+ .topLeft .starTwo{top:0}
100
+ [dir=ltr] .topLeft .starTwo{
101
+ left:10px}
102
+ [dir=rtl] .topLeft .starTwo{right:10px}
103
+ .topLeft .starThree{top:10px}
104
+ [dir=ltr] .topLeft .starThree{
105
+ left:0}
106
+ [dir=rtl] .topLeft .starThree{right:0}
107
+
108
+ .topRight .starOne{top:0}
109
+
110
+ [dir=ltr] .topRight .starOne{
111
+ right:0}
112
+
113
+ [dir=rtl] .topRight .starOne{left:0}
114
+ .topRight .starTwo{top:0}
115
+ [dir=ltr] .topRight .starTwo{
116
+ right:10px}
117
+ [dir=rtl] .topRight .starTwo{left:10px}
118
+ .topRight .starThree{top:10px}
119
+ [dir=ltr] .topRight .starThree{
120
+ right:0}
121
+ [dir=rtl] .topRight .starThree{left:0}
122
+
123
+ .bottomLeft .starOne{bottom:0}
124
+
125
+ [dir=ltr] .bottomLeft .starOne{
126
+ left:0}
127
+
128
+ [dir=rtl] .bottomLeft .starOne{right:0}
129
+ .bottomLeft .starTwo{bottom:0}
130
+ [dir=ltr] .bottomLeft .starTwo{
131
+ left:10px}
132
+ [dir=rtl] .bottomLeft .starTwo{right:10px}
133
+ .bottomLeft .starThree{bottom:10px}
134
+ [dir=ltr] .bottomLeft .starThree{
135
+ left:0}
136
+ [dir=rtl] .bottomLeft .starThree{right:0}
137
+
138
+ .bottomRight .starOne{bottom:0}
139
+
140
+ [dir=ltr] .bottomRight .starOne{
141
+ right:0}
142
+
143
+ [dir=rtl] .bottomRight .starOne{left:0}
144
+ .bottomRight .starTwo{bottom:0}
145
+ [dir=ltr] .bottomRight .starTwo{
146
+ right:10px}
147
+ [dir=rtl] .bottomRight .starTwo{left:10px}
148
+ .bottomRight .starThree{bottom:10px}
149
+ [dir=ltr] .bottomRight .starThree{
150
+ right:0}
151
+ [dir=rtl] .bottomRight .starThree{left:0}
152
+
153
+ @keyframes twinkle {
154
+ 0% {
155
+ opacity: 0.5;
156
+ }
157
+ 50% {
158
+ opacity: 1;
159
+ }
160
+ 100% {
161
+ opacity: 0.6;
162
+ }
163
+ }
164
+
165
+ @keyframes star-scale {
166
+ 0% {
167
+ transform: perspective(1px) scale(0.7);
168
+ }
169
+ 50% {
170
+ transform: perspective(1px) scale(1, 1);
171
+ }
172
+ 100% {
173
+ transform: perspective(1px) scale(0.7);
174
+ }
175
+ }
File without changes
@@ -1,19 +1,16 @@
1
- .container {
2
- composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
3
- border-radius: 50%;
4
- box-shadow: var(--zd_bs_plusicon_container);
5
- cursor: pointer;
6
- background-color: var(--zdt_plusicon_bg);
7
- }
8
-
9
- .plusIcon {
10
- border: 1px solid var(--zdt_plusicon_border);
11
- }
12
-
13
- .icon {
14
- color: var(--zdt_plusicon_text);
15
- }
16
-
17
- .plusIcon:hover {
18
- border-color: var(--zdt_plusicon_hover_border);
19
- }
1
+ .container {
2
+ composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
3
+ border-radius: 50%;
4
+ box-shadow: 0 2px 3px 0 var(--zdt_plusicon_box_shadow);
5
+ cursor: pointer;
6
+ background-color: var(--zdt_plusicon_bg);
7
+ }
8
+ .plusIcon {
9
+ border: 1px solid var(--zdt_plusicon_border);
10
+ }
11
+ .icon {
12
+ color: var(--zdt_plusicon_text);
13
+ }
14
+ .plusIcon:hover {
15
+ border-color: var(--zdt_plusicon_hover_border);
16
+ }
@@ -2,7 +2,8 @@ let config = {
2
2
  freezeLayer: {
3
3
  enable: () => {},
4
4
  disable: () => {}
5
- }
5
+ },
6
+ draggerBoundary: null
6
7
  };
7
8
  export function getDotLibraryConfig(key) {
8
9
  return config[key];
@@ -1,34 +1,34 @@
1
- .varClass {
2
- --separator_fontSize: var(--zd_font_size15);
3
- }
4
- .separator {
5
- font-size: var(--separator_fontSize);
6
- margin: 0 var(--zd_size5);
7
- }
8
- .dot {
9
- --separator_fontSize: var(--zd_font_size8);
10
- }
11
- .slash {
12
- --separator_fontSize: var(--zd_font_size10);
13
- /* line-height: var(--zd_size10); */
14
- }
15
- .arrow {
16
- --separator_fontSize: var(--zd_font_size8);
17
- /* line-height: var(--zd_size7); */
18
- }
19
- .comma {
20
- --separator_fontSize: var(--zd_font_size15);
21
- /* line-height: var(--zd_size13); */
22
- }
23
- .none {
24
- display: none;
25
- }
26
- .default {
27
- color: var(--zdt_separator_default_text);
28
- }
29
- .primary {
30
- color: var(--zdt_separator_primary_text);
31
- }
32
- .secondary {
33
- color: var(--zdt_separator_secondary_text);
34
- }
1
+ .varClass {
2
+ --separator_fontSize: var(--zd_font_size15);
3
+ }
4
+ .separator {
5
+ font-size: var(--separator_fontSize);
6
+ margin: 0 var(--zd_size5);
7
+ }
8
+ .dot {
9
+ --separator_fontSize: var(--zd_font_size8);
10
+ }
11
+ .slash {
12
+ --separator_fontSize: var(--zd_font_size10);
13
+ /* line-height: var(--zd_size10); */
14
+ }
15
+ .arrow {
16
+ --separator_fontSize: var(--zd_font_size8);
17
+ /* line-height: var(--zd_size7); */
18
+ }
19
+ .comma {
20
+ --separator_fontSize: var(--zd_font_size15);
21
+ /* line-height: var(--zd_size13); */
22
+ }
23
+ .none {
24
+ display: none;
25
+ }
26
+ .default {
27
+ color: var(--zdt_separator_default_text);
28
+ }
29
+ .primary {
30
+ color: var(--zdt_separator_primary_text);
31
+ }
32
+ .secondary {
33
+ color: var(--zdt_separator_secondary_text);
34
+ }
@@ -3,6 +3,7 @@ import React, { useState } from 'react';
3
3
  import { defaultProps } from './props/defaultProps';
4
4
  import { propTypes } from './props/propTypes';
5
5
  //components
6
+ import { cancelBubblingEffect } from '@zohodesk/components/es/utils/Common';
6
7
  import { Icon } from '@zohodesk/icons';
7
8
  import { Container, Box } from '@zohodesk/components/lib/Layout';
8
9
  import { useZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
@@ -11,10 +12,6 @@ import AutoClose from '../actions/AutoClose';
11
12
  import a11yStyle from '@zohodesk/components/lib/semantic/Button/semanticButton.module.css';
12
13
  //style
13
14
  import style from './ToastMessage.module.css';
14
- function removeClose(e) {
15
- e && e.stopPropagation && e.stopPropagation();
16
- e && e.nativeEvent && e.nativeEvent.stopImmediatePropagation && e.nativeEvent.stopImmediatePropagation();
17
- }
18
15
  function ToastMessageUI(props) {
19
16
  let [messageState, setMessageState] = useState(props.messageState);
20
17
  let {
@@ -54,7 +51,7 @@ function ToastMessageUI(props) {
54
51
  onClose && onClose();
55
52
  }
56
53
  function changeMessageState(e) {
57
- removeClose(e);
54
+ cancelBubblingEffect(e);
58
55
  setMessageState(!messageState);
59
56
  }
60
57
  let animateClass = isClose ? style.rightanimate : style.leftanimate;