@zohodesk/dot 1.0.0-temp-116 → 1.0.0-temp-118

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 (297) hide show
  1. package/README.md +1193 -1177
  2. package/assets/Appearance/dark/mode/dotDarkMode.module.css +311 -288
  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 +305 -282
  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 +314 -291
  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/css_error.log +56 -0
  21. package/dubFinder.js +96 -96
  22. package/es/ActionButton/ActionButton.module.css +139 -136
  23. package/es/AlphabeticList/AlphabeticList.module.css +57 -57
  24. package/es/Attachment/Attachment.module.css +157 -157
  25. package/es/AttachmentViewer/AttachmentViewer.module.css +353 -354
  26. package/es/ChannelIcon/ChannelIcon.module.css +217 -217
  27. package/es/Drawer/Drawer.js +0 -0
  28. package/es/Drawer/Drawer.module.css +189 -150
  29. package/es/ExternalLink/ExternalLink.js +0 -0
  30. package/es/ExternalLink/ExternalLink.module.css +3 -3
  31. package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  32. package/es/FlipCard/FlipCard.module.css +44 -44
  33. package/es/FormAction/FormAction.module.css +82 -82
  34. package/es/FreezeLayer/FreezeLayer.module.css +42 -42
  35. package/es/IconButton/IconButton.module.css +22 -22
  36. package/es/Image/Image.module.css +10 -10
  37. package/es/ImportantNotes/ImportantNotes.module.css +20 -20
  38. package/es/Link/Link.js +0 -0
  39. package/es/Link/Link.module.css +3 -3
  40. package/es/Loader/Loader.module.css +46 -46
  41. package/es/Message/Message.module.css +102 -102
  42. package/es/MessageBanner/MessageBanner.module.css +46 -46
  43. package/es/NewStar/NewStar.module.css +175 -175
  44. package/es/PlusIcon/PlusIcon.js +0 -0
  45. package/es/PlusIcon/PlusIcon.module.css +19 -16
  46. package/es/Separator/Separator.js +57 -0
  47. package/es/Separator/Separator.module.css +34 -0
  48. package/es/Separator/props/defaultProps.js +12 -0
  49. package/es/Separator/props/propTypes.js +11 -0
  50. package/es/ToastMessage/ToastMessage.js +0 -0
  51. package/es/ToastMessage/ToastMessage.module.css +329 -328
  52. package/es/Upload/Upload.module.css +125 -125
  53. package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
  54. package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
  55. package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
  56. package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  57. package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  58. package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
  59. package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  60. package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
  61. package/es/avatar/AvatarUser/AvatarUser.js +0 -0
  62. package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
  63. package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  64. package/es/common/boxShadow.module.css +77 -0
  65. package/es/common/dot_animation.module.css +26 -26
  66. package/es/common/dot_common.module.css +3 -3
  67. package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  68. package/es/deprecated/utils/KeyboardApi.js +25 -25
  69. package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  70. package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  71. package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  72. package/es/emptystate/EditionPage/EditionPage.css +43 -43
  73. package/es/errorstate/EmptyStates.module.css +87 -87
  74. package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  75. package/es/errorstate/LinkText/LinkText.module.css +6 -6
  76. package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  77. package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  78. package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  79. package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  80. package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  81. package/es/errorstate/WillBack/WillBack.module.css +34 -34
  82. package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  83. package/es/form/fields/Fields.module.css +183 -183
  84. package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  85. package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  86. package/es/form/fields/TextEditor/TextEditor.js +3 -3
  87. package/es/form/fields/TextEditor/TextEditor.module.css +764 -666
  88. package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  89. package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  90. package/es/form/layout/Field/Field.js +0 -0
  91. package/es/form/layout/Field/Field.module.css +22 -22
  92. package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
  93. package/es/form/layout/Section/Section.js +0 -0
  94. package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  95. package/es/layout/SubtabLayout/SubtabLayout.module.css +165 -146
  96. package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
  97. package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  98. package/es/list/Comment/Comment.module.css +29 -29
  99. package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  100. package/es/list/Dot/Dot.module.css +15 -15
  101. package/es/list/DotNew/DotNew.module.css +25 -22
  102. package/es/list/GridStencils/GridStencils.module.css +146 -146
  103. package/es/list/Icons/Icons.module.css +16 -16
  104. package/es/list/ListLayout/ListLayout.module.css +57 -57
  105. package/es/list/ListStencils/ListStencils.module.css +67 -67
  106. package/es/list/SecondaryText/SecondaryText.module.css +136 -136
  107. package/es/list/SecondaryText/Website.js +0 -0
  108. package/es/list/SecondryPanel/SecondryPanel.js +0 -0
  109. package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
  110. package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
  111. package/es/list/Subject/Subject.module.css +27 -27
  112. package/es/list/TagNew/TagNew.module.css +117 -115
  113. package/es/list/Thread/Thread.module.css +42 -42
  114. package/es/list/UserTime/UserTime.module.css +58 -58
  115. package/es/list/listCommon.module.css +60 -60
  116. package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  117. package/es/list/status/StatusListItem/StatusListItem.js +0 -0
  118. package/es/list/status/StatusListItem/StatusListItem.module.css +104 -104
  119. package/es/lookup/EmptyPage/EmptyPage.js +0 -0
  120. package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  121. package/es/lookup/Lookup/Lookup.js +0 -0
  122. package/es/lookup/Lookup/Lookup.module.css +26 -26
  123. package/es/lookup/Section/LookupSection.module.css +8 -8
  124. package/es/lookup/header/Close/LookupClose.module.css +15 -15
  125. package/es/lookup/header/Search/LookupSearch.module.css +57 -57
  126. package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  127. package/es/lookup/header/Title/LookupTitle.module.css +20 -20
  128. package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  129. package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
  130. package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  131. package/es/setup/header/Button/HeaderButton.module.css +5 -5
  132. package/es/setup/header/Link/HeaderLink.module.css +21 -21
  133. package/es/setup/header/Search/Search.module.css +68 -68
  134. package/es/setup/header/Views/Views.module.css +37 -37
  135. package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  136. package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  137. package/es/setup/helptips/Link/Link.js +0 -0
  138. package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  139. package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  140. package/es/setup/helptips/Title/Title.js +0 -0
  141. package/es/setup/table/TableData/SetupTableData.module.css +44 -44
  142. package/es/setup/table/TableData/Tablehover.module.css +6 -6
  143. package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
  144. package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
  145. package/es/setup/table/Text/TableText.module.css +37 -37
  146. package/es/setup/table/Text/Text.js +0 -0
  147. package/es/svg/PlusIcon.js +1 -1
  148. package/es/svg/SnippetIcon.js +2 -2
  149. package/es/utils/editorUtils.js +1 -1
  150. package/es/version2/AlertClose/AlertClose.module.css +42 -42
  151. package/es/version2/GlobalNotification/GlobalNotification.module.css +127 -124
  152. package/es/version2/alertIcons/AlertIcons.module.css +67 -67
  153. package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
  154. package/es/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  155. package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  156. package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
  157. package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +127 -106
  158. package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  159. package/install.md +12 -0
  160. package/lib/ActionButton/ActionButton.module.css +139 -136
  161. package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
  162. package/lib/Attachment/Attachment.module.css +157 -157
  163. package/lib/AttachmentViewer/AttachmentViewer.module.css +353 -354
  164. package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
  165. package/lib/Drawer/Drawer.js +0 -0
  166. package/lib/Drawer/Drawer.module.css +189 -150
  167. package/lib/ExternalLink/ExternalLink.js +0 -0
  168. package/lib/ExternalLink/ExternalLink.module.css +3 -3
  169. package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
  170. package/lib/FlipCard/FlipCard.module.css +44 -44
  171. package/lib/FormAction/FormAction.module.css +82 -82
  172. package/lib/FreezeLayer/FreezeLayer.module.css +42 -42
  173. package/lib/IconButton/IconButton.module.css +22 -22
  174. package/lib/Image/Image.module.css +10 -10
  175. package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
  176. package/lib/Link/Link.js +0 -0
  177. package/lib/Link/Link.module.css +3 -3
  178. package/lib/Loader/Loader.module.css +46 -46
  179. package/lib/Message/Message.module.css +102 -102
  180. package/lib/MessageBanner/MessageBanner.module.css +46 -46
  181. package/lib/NewStar/NewStar.module.css +175 -175
  182. package/lib/PlusIcon/PlusIcon.js +0 -0
  183. package/lib/PlusIcon/PlusIcon.module.css +19 -16
  184. package/lib/Separator/Separator.js +82 -0
  185. package/lib/Separator/Separator.module.css +34 -0
  186. package/lib/Separator/props/defaultProps.js +19 -0
  187. package/lib/Separator/props/propTypes.js +19 -0
  188. package/lib/ToastMessage/ToastMessage.js +0 -0
  189. package/lib/ToastMessage/ToastMessage.module.css +329 -328
  190. package/lib/Upload/Upload.module.css +125 -125
  191. package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
  192. package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
  193. package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
  194. package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
  195. package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
  196. package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
  197. package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
  198. package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
  199. package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
  200. package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
  201. package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
  202. package/lib/common/boxShadow.module.css +77 -0
  203. package/lib/common/dot_animation.module.css +26 -26
  204. package/lib/common/dot_common.module.css +3 -3
  205. package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
  206. package/lib/deprecated/utils/KeyboardApi.js +25 -25
  207. package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +101 -101
  208. package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
  209. package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
  210. package/lib/emptystate/EditionPage/EditionPage.css +43 -43
  211. package/lib/errorstate/EmptyStates.module.css +87 -87
  212. package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
  213. package/lib/errorstate/LinkText/LinkText.module.css +6 -6
  214. package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
  215. package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
  216. package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
  217. package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
  218. package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
  219. package/lib/errorstate/WillBack/WillBack.module.css +34 -34
  220. package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
  221. package/lib/form/fields/Fields.module.css +183 -183
  222. package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
  223. package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
  224. package/lib/form/fields/TextEditor/TextEditor.js +3 -3
  225. package/lib/form/fields/TextEditor/TextEditor.module.css +764 -666
  226. package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +36 -36
  227. package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
  228. package/lib/form/layout/Field/Field.js +0 -0
  229. package/lib/form/layout/Field/Field.module.css +22 -22
  230. package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
  231. package/lib/form/layout/Section/Section.js +0 -0
  232. package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
  233. package/lib/layout/SubtabLayout/SubtabLayout.module.css +165 -146
  234. package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
  235. package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
  236. package/lib/list/Comment/Comment.module.css +29 -29
  237. package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
  238. package/lib/list/Dot/Dot.module.css +15 -15
  239. package/lib/list/DotNew/DotNew.module.css +25 -22
  240. package/lib/list/GridStencils/GridStencils.module.css +146 -146
  241. package/lib/list/Icons/Icons.module.css +16 -16
  242. package/lib/list/ListLayout/ListLayout.module.css +57 -57
  243. package/lib/list/ListStencils/ListStencils.module.css +67 -67
  244. package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
  245. package/lib/list/SecondaryText/Website.js +0 -0
  246. package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
  247. package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
  248. package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
  249. package/lib/list/Subject/Subject.module.css +27 -27
  250. package/lib/list/TagNew/TagNew.module.css +117 -115
  251. package/lib/list/Thread/Thread.module.css +42 -42
  252. package/lib/list/UserTime/UserTime.module.css +58 -58
  253. package/lib/list/listCommon.module.css +60 -60
  254. package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
  255. package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
  256. package/lib/list/status/StatusListItem/StatusListItem.module.css +104 -104
  257. package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
  258. package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
  259. package/lib/lookup/Lookup/Lookup.js +0 -0
  260. package/lib/lookup/Lookup/Lookup.module.css +26 -26
  261. package/lib/lookup/Section/LookupSection.module.css +8 -8
  262. package/lib/lookup/header/Close/LookupClose.module.css +15 -15
  263. package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
  264. package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
  265. package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
  266. package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
  267. package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
  268. package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
  269. package/lib/setup/header/Button/HeaderButton.module.css +5 -5
  270. package/lib/setup/header/Link/HeaderLink.module.css +21 -21
  271. package/lib/setup/header/Search/Search.module.css +68 -68
  272. package/lib/setup/header/Views/Views.module.css +37 -37
  273. package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
  274. package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
  275. package/lib/setup/helptips/Link/Link.js +0 -0
  276. package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
  277. package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
  278. package/lib/setup/helptips/Title/Title.js +0 -0
  279. package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
  280. package/lib/setup/table/TableData/Tablehover.module.css +6 -6
  281. package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
  282. package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
  283. package/lib/setup/table/Text/TableText.module.css +37 -37
  284. package/lib/setup/table/Text/Text.js +0 -0
  285. package/lib/svg/PlusIcon.js +1 -1
  286. package/lib/svg/SnippetIcon.js +2 -2
  287. package/lib/utils/editorUtils.js +1 -1
  288. package/lib/version2/AlertClose/AlertClose.module.css +42 -42
  289. package/lib/version2/GlobalNotification/GlobalNotification.module.css +127 -124
  290. package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
  291. package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
  292. package/lib/version2/lookup/AlertHeader/AlertHeaderNew.module.css +86 -86
  293. package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
  294. package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
  295. package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +127 -106
  296. package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
  297. package/package.json +105 -105
@@ -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,16 +1,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
- }
1
+ .container {
2
+ composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
3
+ border-radius: 50%;
4
+ box-shadow: var(--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
+ }
@@ -0,0 +1,57 @@
1
+ import React from 'react';
2
+ import { Container, Box } from '@zohodesk/components/lib/Layout';
3
+ import { defaultProps } from './props/defaultProps';
4
+ import { propTypes } from './props/propTypes';
5
+ import style from './Separator.module.css';
6
+ export default class Separator extends React.Component {
7
+ constructor(props) {
8
+ super(props);
9
+ }
10
+ render() {
11
+ const {
12
+ children,
13
+ type,
14
+ customSeparatorType,
15
+ palette,
16
+ wrap,
17
+ shrink,
18
+ aligndirection,
19
+ customClass
20
+ } = this.props;
21
+ const {
22
+ customWrapper,
23
+ customSeparator,
24
+ customChildren
25
+ } = customClass;
26
+ const data = children.filter(el => el !== null && el !== undefined && el !== false);
27
+ return /*#__PURE__*/React.createElement(Container, {
28
+ alignBox: aligndirection,
29
+ align: aligndirection === 'row' ? 'vertical' : '',
30
+ wrap: wrap,
31
+ isCover: false,
32
+ className: `${style.varClass} ${customWrapper}`
33
+ }, data.map((child, i) => {
34
+ if (child) {
35
+ if (data.length - 1 == i || aligndirection == 'column') {
36
+ return child && /*#__PURE__*/React.createElement(Box, {
37
+ shrink: shrink,
38
+ key: i,
39
+ className: customChildren
40
+ }, child);
41
+ }
42
+ return child && /*#__PURE__*/React.createElement(React.Fragment, {
43
+ key: i
44
+ }, /*#__PURE__*/React.createElement(Box, {
45
+ shrink: shrink,
46
+ key: i,
47
+ className: customChildren
48
+ }, child), /*#__PURE__*/React.createElement(Box, {
49
+ className: `${style.separator} ${style[palette]} ${customSeparatorType ? '' : style[type]} ${customSeparator} `,
50
+ key: i
51
+ }, customSeparatorType ? customSeparatorType : type == 'slash' ? '/' : type == 'arrow' ? '>' : type == 'comma' ? ',' : '\u2022'));
52
+ }
53
+ }));
54
+ }
55
+ }
56
+ Separator.defaultProps = defaultProps;
57
+ Separator.propTypes = propTypes;
@@ -0,0 +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
+ }
@@ -0,0 +1,12 @@
1
+ export const defaultProps = {
2
+ palette: 'default',
3
+ type: 'dot',
4
+ wrap: false,
5
+ shrink: false,
6
+ aligndirection: 'row',
7
+ customClass: {
8
+ customWrapper: '',
9
+ customSeparator: '',
10
+ customChildren: ''
11
+ }
12
+ };
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ export const propTypes = {
3
+ aligndirection: PropTypes.string,
4
+ children: PropTypes.any,
5
+ palette: PropTypes.oneOf(['default', 'primary', 'secondary']),
6
+ shrink: PropTypes.bool,
7
+ type: PropTypes.oneOf(['dot', 'slash', 'arrow', 'comma', 'none']),
8
+ wrap: PropTypes.bool,
9
+ customClass: PropTypes.obj,
10
+ customSeparatorType: PropTypes.string
11
+ };
File without changes