@zohodesk/svg 1.0.0-beta.4 → 1.0.0-beta.40

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 (359) hide show
  1. package/README.md +142 -1
  2. package/lib/Provider.js +213 -0
  3. package/lib/index.js +48 -27
  4. package/lib/svg/EmptyAccounts.js +108 -36
  5. package/lib/svg/EmptyActiveCalls.js +79 -43
  6. package/lib/svg/EmptyActivity.js +79 -38
  7. package/lib/svg/EmptyAgent.js +79 -35
  8. package/lib/svg/EmptyAgentQueue.js +128 -0
  9. package/lib/svg/EmptyApproval.js +128 -0
  10. package/lib/svg/EmptyArchived.js +88 -35
  11. package/lib/svg/EmptyAttach.js +79 -35
  12. package/lib/svg/EmptyBlueprint.js +94 -35
  13. package/lib/svg/EmptyBusinessHoliday.js +47 -35
  14. package/lib/svg/EmptyBusinessHour.js +47 -35
  15. package/lib/svg/EmptyCallHistory.js +81 -43
  16. package/lib/svg/EmptyCollision.js +122 -0
  17. package/lib/svg/EmptyColumn.js +128 -0
  18. package/lib/svg/EmptyContact.js +79 -36
  19. package/lib/svg/EmptyContract.js +118 -0
  20. package/lib/svg/EmptyConversation.js +79 -35
  21. package/lib/svg/EmptyCrm.js +122 -0
  22. package/lib/svg/EmptyCrmNotes.js +133 -0
  23. package/lib/svg/EmptyCrmPotential.js +136 -0
  24. package/lib/svg/EmptyCustomDomain.js +90 -0
  25. package/lib/svg/EmptyDashboard.js +86 -36
  26. package/lib/svg/EmptyDepartment.js +122 -0
  27. package/lib/svg/EmptyError.js +144 -0
  28. package/lib/svg/EmptyFeed.js +125 -0
  29. package/lib/svg/EmptyFollowers.js +123 -0
  30. package/lib/svg/EmptyFrame.js +121 -0
  31. package/lib/svg/EmptyFromAddress.js +47 -35
  32. package/lib/svg/EmptyHappiness.js +79 -35
  33. package/lib/svg/EmptyHistory.js +79 -42
  34. package/lib/svg/EmptyImportHistory.js +47 -35
  35. package/lib/svg/EmptyInconvenience.js +91 -0
  36. package/lib/svg/EmptyInvoice.js +84 -35
  37. package/lib/svg/EmptyNetwork.js +47 -35
  38. package/lib/svg/EmptyNotification.js +79 -35
  39. package/lib/svg/EmptyProducts.js +82 -35
  40. package/lib/svg/EmptyRecycleBin.js +47 -35
  41. package/lib/svg/EmptyReply.js +117 -0
  42. package/lib/svg/EmptyReports.js +85 -35
  43. package/lib/svg/EmptyRoles.js +47 -35
  44. package/lib/svg/EmptySchedule.js +164 -0
  45. package/lib/svg/EmptySearch.js +89 -35
  46. package/lib/svg/EmptySkills.js +127 -41
  47. package/lib/svg/EmptySla.js +117 -0
  48. package/lib/svg/EmptySnippet.js +98 -50
  49. package/lib/svg/EmptyStateVariables.module.css +39 -0
  50. package/lib/svg/EmptyTag.js +82 -35
  51. package/lib/svg/EmptyTask.js +95 -35
  52. package/lib/svg/EmptyTeams.js +79 -35
  53. package/lib/svg/EmptyTemplate.js +91 -36
  54. package/lib/svg/EmptyTicket.js +82 -35
  55. package/lib/svg/EmptyTimeEntry.js +85 -35
  56. package/lib/svg/EmptyTimeline.js +122 -0
  57. package/lib/svg/EmptyTopic.js +85 -35
  58. package/lib/svg/EmptyUnauthorizedLogin.js +97 -0
  59. package/lib/svg/EmptyWebhook.js +47 -35
  60. package/lib/svg/EmptyWillBeRightBack.js +92 -0
  61. package/lib/svg/ErrorInconvenience.js +163 -0
  62. package/lib/svg/ErrorOopsSomethingMiss.js +164 -0
  63. package/lib/svg/ErrorUnableToProcessRequest.js +164 -0
  64. package/lib/svg/ErrorUnauthorizedLogin.js +163 -0
  65. package/lib/svg/ErrorUrlNotFound.js +164 -0
  66. package/lib/svg/ErrorWillBeRightBack.js +163 -0
  67. package/lib/svg/Extractor.js +116 -0
  68. package/lib/svg/FailureLog.js +47 -35
  69. package/lib/svg/Import.js +132 -0
  70. package/lib/svg/Loader.js +77 -33
  71. package/lib/svg/NoRequestFound.js +47 -43
  72. package/lib/svg/NotImpossible.js +129 -0
  73. package/lib/svg/PageNotFound.js +49 -44
  74. package/lib/svg/Predictor.js +123 -0
  75. package/lib/svg/SVG.js +88 -81
  76. package/lib/svg/SVG.module.css +9 -2
  77. package/lib/svg/SvgLoader.js +66 -0
  78. package/lib/svg/UnableToProcessRequest.js +48 -43
  79. package/lib/svg/UnauthorizedLogin.js +48 -43
  80. package/lib/svg/UrlNotFound.js +49 -44
  81. package/lib/svg/WillBeRightBack.js +49 -44
  82. package/lib/svg/ZiaAnamoly.js +117 -0
  83. package/lib/svg/docs/SVG__common.docs.js +98 -0
  84. package/lib/svg/docs/SVG__default.docs.js +327 -657
  85. package/lib/svg/docs/SVG__errorstate.docs.js +129 -0
  86. package/lib/svg/docs/SVGdocstyle.module.css +8 -0
  87. package/lib/svg/images/EmptyCustomDomain.svg +85 -0
  88. package/lib/svg/images/EmptySkills.svg +75 -67
  89. package/lib/svg/utils.js +26 -0
  90. package/package.json +20 -6
  91. package/preprocess/index.js +2 -0
  92. package/preprocess/json/svgAppearanceVariableJson.js +151 -0
  93. package/preprocess/json/svgThemeVariableJson.js +71 -0
  94. package/preprocess/svgAppearanceColors.js +63 -0
  95. package/preprocess/svgThemeColors.js +92 -0
  96. package/src/Provider.js +141 -0
  97. package/src/index.js +5 -1
  98. package/src/svg/EmptyAccounts.js +100 -9
  99. package/src/svg/EmptyActiveCalls.js +63 -14
  100. package/src/svg/EmptyActivity.js +63 -9
  101. package/src/svg/EmptyAgent.js +65 -9
  102. package/src/svg/EmptyAgentQueue.js +94 -0
  103. package/src/svg/EmptyApproval.js +85 -0
  104. package/src/svg/EmptyArchived.js +74 -8
  105. package/src/svg/EmptyAttach.js +65 -9
  106. package/src/svg/EmptyBlueprint.js +85 -8
  107. package/src/svg/EmptyBusinessHoliday.js +11 -6
  108. package/src/svg/EmptyBusinessHour.js +11 -6
  109. package/src/svg/EmptyCallHistory.js +60 -14
  110. package/src/svg/EmptyCollision.js +85 -0
  111. package/src/svg/EmptyColumn.js +91 -0
  112. package/src/svg/EmptyContact.js +64 -9
  113. package/src/svg/EmptyContract.js +81 -0
  114. package/src/svg/EmptyConversation.js +65 -9
  115. package/src/svg/EmptyCrm.js +84 -0
  116. package/src/svg/EmptyCrmNotes.js +96 -0
  117. package/src/svg/EmptyCrmPotential.js +100 -0
  118. package/src/svg/EmptyCustomDomain.js +33 -0
  119. package/src/svg/EmptyDashboard.js +71 -10
  120. package/src/svg/EmptyDepartment.js +87 -0
  121. package/src/svg/EmptyError.js +42 -0
  122. package/src/svg/EmptyFeed.js +87 -0
  123. package/src/svg/EmptyFollowers.js +85 -0
  124. package/src/svg/EmptyFrame.js +83 -0
  125. package/src/svg/EmptyFromAddress.js +11 -8
  126. package/src/svg/EmptyHappiness.js +65 -9
  127. package/src/svg/EmptyHistory.js +63 -15
  128. package/src/svg/EmptyImportHistory.js +11 -8
  129. package/src/svg/{Inconvenience.js → EmptyInconvenience.js} +7 -8
  130. package/src/svg/EmptyInvoice.js +70 -9
  131. package/src/svg/EmptyNetwork.js +11 -8
  132. package/src/svg/EmptyNotification.js +65 -10
  133. package/src/svg/EmptyProducts.js +68 -9
  134. package/src/svg/EmptyRecycleBin.js +10 -7
  135. package/src/svg/EmptyReply.js +81 -0
  136. package/src/svg/EmptyReports.js +70 -9
  137. package/src/svg/EmptyRoles.js +11 -8
  138. package/src/svg/EmptySchedule.js +131 -0
  139. package/src/svg/EmptySearch.js +75 -9
  140. package/src/svg/EmptySkills.js +95 -14
  141. package/src/svg/EmptySla.js +81 -0
  142. package/src/svg/EmptySnippet.js +78 -17
  143. package/src/svg/EmptyStateVariables.module.css +39 -0
  144. package/src/svg/EmptyTag.js +67 -8
  145. package/src/svg/EmptyTask.js +78 -10
  146. package/src/svg/EmptyTeams.js +65 -9
  147. package/src/svg/EmptyTemplate.js +69 -11
  148. package/src/svg/EmptyTicket.js +69 -10
  149. package/src/svg/EmptyTimeEntry.js +72 -10
  150. package/src/svg/EmptyTimeline.js +85 -0
  151. package/src/svg/EmptyTopic.js +72 -9
  152. package/src/svg/EmptyUnauthorizedLogin.js +44 -0
  153. package/src/svg/EmptyWebhook.js +11 -8
  154. package/src/svg/EmptyWillBeRightBack.js +44 -0
  155. package/src/svg/ErrorInconvenience.js +128 -0
  156. package/src/svg/ErrorOopsSomethingMiss.js +128 -0
  157. package/src/svg/ErrorUnableToProcessRequest.js +128 -0
  158. package/src/svg/ErrorUnauthorizedLogin.js +127 -0
  159. package/src/svg/ErrorUrlNotFound.js +128 -0
  160. package/src/svg/ErrorWillBeRightBack.js +127 -0
  161. package/src/svg/Extractor.js +76 -0
  162. package/src/svg/FailureLog.js +11 -8
  163. package/src/svg/Import.js +85 -0
  164. package/src/svg/Loader.js +63 -9
  165. package/src/svg/NoRequestFound.js +7 -8
  166. package/src/svg/NotImpossible.js +80 -0
  167. package/src/svg/PageNotFound.js +8 -8
  168. package/src/svg/Predictor.js +78 -0
  169. package/src/svg/SVG.js +36 -17
  170. package/src/svg/SVG.module.css +9 -2
  171. package/src/svg/SvgLoader.js +21 -0
  172. package/src/svg/UnableToProcessRequest.js +8 -9
  173. package/src/svg/UnauthorizedLogin.js +7 -8
  174. package/src/svg/UrlNotFound.js +9 -10
  175. package/src/svg/WillBeRightBack.js +9 -10
  176. package/src/svg/ZiaAnamoly.js +76 -0
  177. package/src/svg/docs/SVG__common.docs.js +47 -0
  178. package/src/svg/docs/SVG__default.docs.js +172 -228
  179. package/src/svg/docs/SVG__errorstate.docs.js +75 -0
  180. package/src/svg/docs/SVGdocstyle.module.css +8 -0
  181. package/src/svg/images/EmptyCustomDomain.svg +85 -0
  182. package/src/svg/images/EmptySkills.svg +75 -67
  183. package/src/svg/utils.js +15 -0
  184. package/.DS_Store +0 -0
  185. package/es/index.js +0 -6
  186. package/es/svg/EmptyAccounts.js +0 -57
  187. package/es/svg/EmptyActiveCalls.js +0 -64
  188. package/es/svg/EmptyActivity.js +0 -59
  189. package/es/svg/EmptyAgent.js +0 -56
  190. package/es/svg/EmptyArchived.js +0 -55
  191. package/es/svg/EmptyAttach.js +0 -56
  192. package/es/svg/EmptyBlueprint.js +0 -56
  193. package/es/svg/EmptyBusinessHoliday.js +0 -56
  194. package/es/svg/EmptyBusinessHour.js +0 -56
  195. package/es/svg/EmptyCallHistory.js +0 -64
  196. package/es/svg/EmptyCloud.js +0 -55
  197. package/es/svg/EmptyCloudDanger.js +0 -131
  198. package/es/svg/EmptyContact.js +0 -57
  199. package/es/svg/EmptyConversation.js +0 -56
  200. package/es/svg/EmptyDashboard.js +0 -56
  201. package/es/svg/EmptyEdition.js +0 -56
  202. package/es/svg/EmptyFromAddress.js +0 -56
  203. package/es/svg/EmptyHappiness.js +0 -56
  204. package/es/svg/EmptyHistory.js +0 -63
  205. package/es/svg/EmptyImportHistory.js +0 -56
  206. package/es/svg/EmptyInvoice.js +0 -56
  207. package/es/svg/EmptyNetwork.js +0 -56
  208. package/es/svg/EmptyNotification.js +0 -56
  209. package/es/svg/EmptyProducts.js +0 -56
  210. package/es/svg/EmptyRecycleBin.js +0 -56
  211. package/es/svg/EmptyReports.js +0 -56
  212. package/es/svg/EmptyRoles.js +0 -56
  213. package/es/svg/EmptySearch.js +0 -56
  214. package/es/svg/EmptySkills.js +0 -62
  215. package/es/svg/EmptySnippet.js +0 -62
  216. package/es/svg/EmptyTag.js +0 -56
  217. package/es/svg/EmptyTask.js +0 -56
  218. package/es/svg/EmptyTeams.js +0 -56
  219. package/es/svg/EmptyTemplate.js +0 -57
  220. package/es/svg/EmptyTicket.js +0 -56
  221. package/es/svg/EmptyTimeEntry.js +0 -56
  222. package/es/svg/EmptyTopic.js +0 -56
  223. package/es/svg/EmptyWebhook.js +0 -56
  224. package/es/svg/FailureLog.js +0 -56
  225. package/es/svg/Inconvenience.js +0 -65
  226. package/es/svg/InvalidUrl.js +0 -780
  227. package/es/svg/Loader.js +0 -50
  228. package/es/svg/NoRequestFound.js +0 -65
  229. package/es/svg/PageNotFound.js +0 -65
  230. package/es/svg/SVG.js +0 -102
  231. package/es/svg/SVG.module.css +0 -19
  232. package/es/svg/SitBack.js +0 -54
  233. package/es/svg/UnableToProcessRequest.js +0 -65
  234. package/es/svg/UnauthorizedLogin.js +0 -65
  235. package/es/svg/UrlNotFound.js +0 -65
  236. package/es/svg/WillBeRightBack.js +0 -65
  237. package/es/svg/docs/SVG__default.docs.js +0 -605
  238. package/es/svg/images/EmptyAccounts.svg +0 -55
  239. package/es/svg/images/EmptyActiveCalls.svg +0 -57
  240. package/es/svg/images/EmptyActivity.svg +0 -85
  241. package/es/svg/images/EmptyAgent.svg +0 -52
  242. package/es/svg/images/EmptyArchived.svg +0 -38
  243. package/es/svg/images/EmptyAttach.svg +0 -39
  244. package/es/svg/images/EmptyBlueprint.svg +0 -78
  245. package/es/svg/images/EmptyBusinessHoliday.svg +0 -50
  246. package/es/svg/images/EmptyBusinessHour.svg +0 -42
  247. package/es/svg/images/EmptyCallHistory.svg +0 -46
  248. package/es/svg/images/EmptyCloud.svg +0 -38
  249. package/es/svg/images/EmptyContact.svg +0 -33
  250. package/es/svg/images/EmptyContactInfo.svg +0 -27
  251. package/es/svg/images/EmptyConversation.svg +0 -38
  252. package/es/svg/images/EmptyDashboard.svg +0 -42
  253. package/es/svg/images/EmptyEdition.svg +0 -76
  254. package/es/svg/images/EmptyFilter.svg +0 -62
  255. package/es/svg/images/EmptyFromAddress.svg +0 -41
  256. package/es/svg/images/EmptyHappiness.svg +0 -58
  257. package/es/svg/images/EmptyHistory.svg +0 -44
  258. package/es/svg/images/EmptyImportHistory.svg +0 -43
  259. package/es/svg/images/EmptyInvoice.svg +0 -45
  260. package/es/svg/images/EmptyNetwork.svg +0 -50
  261. package/es/svg/images/EmptyNotification.svg +0 -38
  262. package/es/svg/images/EmptyProducts.svg +0 -57
  263. package/es/svg/images/EmptyRecycleBin.svg +0 -58
  264. package/es/svg/images/EmptyReports.svg +0 -39
  265. package/es/svg/images/EmptyRoles.svg +0 -30
  266. package/es/svg/images/EmptySearch.svg +0 -37
  267. package/es/svg/images/EmptySkills.svg +0 -75
  268. package/es/svg/images/EmptySnippet.svg +0 -46
  269. package/es/svg/images/EmptyTag.svg +0 -43
  270. package/es/svg/images/EmptyTask.svg +0 -42
  271. package/es/svg/images/EmptyTeams.svg +0 -39
  272. package/es/svg/images/EmptyTemplate.svg +0 -39
  273. package/es/svg/images/EmptyTicket.svg +0 -33
  274. package/es/svg/images/EmptyTimeEntry.svg +0 -96
  275. package/es/svg/images/EmptyTopic.svg +0 -41
  276. package/es/svg/images/EmptyWebhook.svg +0 -44
  277. package/es/svg/images/FailureLog.svg +0 -46
  278. package/es/svg/images/Inconvenience.svg +0 -719
  279. package/es/svg/images/Loader.svg +0 -62
  280. package/es/svg/images/NoRequestFound.svg +0 -247
  281. package/es/svg/images/PageNotFound.svg +0 -405
  282. package/es/svg/images/ReguestUrlNotFound.svg +0 -267
  283. package/es/svg/images/SitBack.svg +0 -464
  284. package/es/svg/images/UnableToProcess.svg +0 -752
  285. package/es/svg/images/UnauthorizedLogin.svg +0 -1047
  286. package/es/svg/images/WillBack.svg +0 -633
  287. package/lib/svg/EmptyCloud.js +0 -77
  288. package/lib/svg/EmptyCloudDanger.js +0 -147
  289. package/lib/svg/EmptyEdition.js +0 -78
  290. package/lib/svg/Inconvenience.js +0 -87
  291. package/lib/svg/InvalidUrl.js +0 -799
  292. package/lib/svg/SitBack.js +0 -76
  293. package/lib/svg/images/EmptyAccounts.svg +0 -55
  294. package/lib/svg/images/EmptyActiveCalls.svg +0 -57
  295. package/lib/svg/images/EmptyActivity.svg +0 -85
  296. package/lib/svg/images/EmptyAgent.svg +0 -52
  297. package/lib/svg/images/EmptyArchived.svg +0 -38
  298. package/lib/svg/images/EmptyAttach.svg +0 -39
  299. package/lib/svg/images/EmptyBlueprint.svg +0 -78
  300. package/lib/svg/images/EmptyCallHistory.svg +0 -46
  301. package/lib/svg/images/EmptyCloud.svg +0 -38
  302. package/lib/svg/images/EmptyContact.svg +0 -33
  303. package/lib/svg/images/EmptyConversation.svg +0 -38
  304. package/lib/svg/images/EmptyDashboard.svg +0 -42
  305. package/lib/svg/images/EmptyEdition.svg +0 -76
  306. package/lib/svg/images/EmptyHappiness.svg +0 -58
  307. package/lib/svg/images/EmptyHistory.svg +0 -44
  308. package/lib/svg/images/EmptyInvoice.svg +0 -45
  309. package/lib/svg/images/EmptyNotification.svg +0 -38
  310. package/lib/svg/images/EmptyProducts.svg +0 -57
  311. package/lib/svg/images/EmptyReports.svg +0 -39
  312. package/lib/svg/images/EmptySearch.svg +0 -37
  313. package/lib/svg/images/EmptySnippet.svg +0 -46
  314. package/lib/svg/images/EmptyTag.svg +0 -43
  315. package/lib/svg/images/EmptyTask.svg +0 -42
  316. package/lib/svg/images/EmptyTeams.svg +0 -39
  317. package/lib/svg/images/EmptyTemplate.svg +0 -39
  318. package/lib/svg/images/EmptyTicket.svg +0 -33
  319. package/lib/svg/images/EmptyTimeEntry.svg +0 -96
  320. package/lib/svg/images/EmptyTopic.svg +0 -41
  321. package/lib/svg/images/Loader.svg +0 -62
  322. package/lib/svg/images/SitBack.svg +0 -464
  323. package/src/.DS_Store +0 -0
  324. package/src/svg/.DS_Store +0 -0
  325. package/src/svg/EmptyCloud.js +0 -28
  326. package/src/svg/EmptyCloudDanger.js +0 -104
  327. package/src/svg/EmptyEdition.js +0 -29
  328. package/src/svg/InvalidUrl.js +0 -755
  329. package/src/svg/SitBack.js +0 -29
  330. package/src/svg/images/EmptyAccounts.svg +0 -55
  331. package/src/svg/images/EmptyActiveCalls.svg +0 -57
  332. package/src/svg/images/EmptyActivity.svg +0 -85
  333. package/src/svg/images/EmptyAgent.svg +0 -52
  334. package/src/svg/images/EmptyArchived.svg +0 -38
  335. package/src/svg/images/EmptyAttach.svg +0 -39
  336. package/src/svg/images/EmptyBlueprint.svg +0 -78
  337. package/src/svg/images/EmptyCallHistory.svg +0 -46
  338. package/src/svg/images/EmptyCloud.svg +0 -38
  339. package/src/svg/images/EmptyContact.svg +0 -33
  340. package/src/svg/images/EmptyConversation.svg +0 -38
  341. package/src/svg/images/EmptyDashboard.svg +0 -42
  342. package/src/svg/images/EmptyEdition.svg +0 -76
  343. package/src/svg/images/EmptyHappiness.svg +0 -58
  344. package/src/svg/images/EmptyHistory.svg +0 -44
  345. package/src/svg/images/EmptyInvoice.svg +0 -45
  346. package/src/svg/images/EmptyNotification.svg +0 -38
  347. package/src/svg/images/EmptyProducts.svg +0 -57
  348. package/src/svg/images/EmptyReports.svg +0 -39
  349. package/src/svg/images/EmptySearch.svg +0 -37
  350. package/src/svg/images/EmptySnippet.svg +0 -46
  351. package/src/svg/images/EmptyTag.svg +0 -43
  352. package/src/svg/images/EmptyTask.svg +0 -42
  353. package/src/svg/images/EmptyTeams.svg +0 -39
  354. package/src/svg/images/EmptyTemplate.svg +0 -39
  355. package/src/svg/images/EmptyTicket.svg +0 -33
  356. package/src/svg/images/EmptyTimeEntry.svg +0 -96
  357. package/src/svg/images/EmptyTopic.svg +0 -41
  358. package/src/svg/images/Loader.svg +0 -62
  359. package/src/svg/images/SitBack.svg +0 -464
@@ -0,0 +1,71 @@
1
+ /* sample =>
2
+ {
3
+ "--zdt_variable_name": {
4
+ 'lightMode': ['blue', 'green', 'orange', 'red', 'yellow'],
5
+ 'nightMode': ['blue', 'green', 'orange', 'red', 'yellow']
6
+ }
7
+ }
8
+ */
9
+
10
+ const svgThemeVariables = [
11
+ {
12
+ "primary_fill": {
13
+ 'light': ['#0a73eb', '#26a942', '#e57717', '#de3535', '#e8b923'],
14
+ 'dark': ['#828994', '#45a159', '#ff801f', '#e94f4f', '#d79835']
15
+ },
16
+ "primary_stroke": {
17
+ 'light': ['#221f1f', '#010101', '#010101', '#010101', '#010101'],
18
+ 'dark': ['#479dff', '#45a159', '#ff801f', '#e94f4f', '#d79835']
19
+ },
20
+ "secondary_fill": {
21
+ 'light': [
22
+ 'rgba(10, 115, 235, 0.25)',
23
+ 'rgba(38, 169, 66, 0.25)',
24
+ 'rgba(229, 119, 23, 0.25)',
25
+ 'rgba(222, 53, 53, 0.25)',
26
+ 'rgba(232, 185, 35, 0.25)'
27
+ ],
28
+ 'dark': [
29
+ '#334b68',
30
+ 'rgba(69, 161, 89, 0.25)',
31
+ 'rgba(255, 128, 31, 0.25)',
32
+ 'rgba(233, 79, 79, 0.25)',
33
+ 'rgba(215, 152, 53, 0.25)'
34
+ ]
35
+ },
36
+ "secondary_plainfill": {
37
+ 'light': ['#0a73eb', '#26a942', '#e57717', '#de3535', '#e8b923'],
38
+ 'dark': ['#334b68', '#45a159', '#ff801f', '#e94f4f', '#d79835']
39
+ },
40
+ "primary_dark_fill": {
41
+ 'light': ['#a6add7', '#26a942', '#e57717', '#de3535', '#e8b923'],
42
+ 'dark': ['#828994', '#45a159', '#ff801f', '#e94f4f', '#d79835']
43
+ },
44
+ "primary_dark_stroke": {
45
+ 'light': ['#fff', '#fff', '#fff', '#fff', '#fff'],
46
+ 'dark': ['#479dff', '#45a159', '#ff801f', '#e94f4f', '#d79835']
47
+ },
48
+ "secondary_dark_fill": {
49
+ 'light': [
50
+ '#3f70b7',
51
+ 'rgba(38, 169, 66, 0.25)',
52
+ 'rgba(229, 119, 23, 0.25)',
53
+ 'rgba(222, 53, 53, 0.25)',
54
+ 'rgba(232, 185, 35, 0.25)'
55
+ ],
56
+ 'dark': [
57
+ '#334b68',
58
+ 'rgba(69, 161, 89, 0.25)',
59
+ 'rgba(255, 128, 31, 0.25)',
60
+ 'rgba(233, 79, 79, 0.25)',
61
+ 'rgba(215, 152, 53, 0.25)'
62
+ ]
63
+ },
64
+ "secondary_dark_plainfill": {
65
+ 'light': ['#3f70b7', '#26a942', '#e57717', '#de3535', '#e8b923'],
66
+ 'dark': ['#334b68', '#45a159', '#ff801f', '#e94f4f', '#d79835']
67
+ }
68
+ }
69
+ ];
70
+
71
+ module.exports = { svgThemeVariables: svgThemeVariables };
@@ -0,0 +1,63 @@
1
+ var { svgAppearanceVariables } = require('./json/svgAppearanceVariableJson');
2
+ var { ensureDirectoryExistence } = require('../../common/pre_utils');
3
+ let fs = require('fs');
4
+ let path = require('path');
5
+ let baseFolder = 'Appearance';
6
+ let mode = ['default', 'dark'];
7
+ let modeFiles = [];
8
+ let prefix=`\n\t--zdt_svg_`;
9
+ mode.forEach(mode => {
10
+ let modeFilesString = `../assets/${baseFolder}/${mode}/mode/${mode}EmptyStates.module.css`;
11
+ modeFiles.push(path.join(__dirname, modeFilesString));
12
+ });
13
+ let files = modeFiles;
14
+
15
+ function generate(mode) {
16
+ let exportVariables = [];
17
+ let counter = 0;
18
+ let newLine = '';
19
+
20
+ svgAppearanceVariables.forEach((element) => {
21
+ let commentName = element.comment;
22
+ counting = counter++;
23
+ if (counting != 0) {
24
+ newLine = `\n\t`;
25
+ }
26
+
27
+ exportVariables.push(commentName ? `${newLine}\n\t/* ${commentName} */` : '');
28
+
29
+ Object.entries(element.data).map(([key, value]) => {
30
+ if (mode == 'default') {
31
+ let svgDefaultColors = value.light[0];
32
+
33
+ colorsResult = [
34
+ `${prefix}${key}: ${svgDefaultColors};`
35
+ ];
36
+ exportVariables.push(colorsResult);
37
+ } else if (mode == 'dark') {
38
+ let svgDarkColors = value.dark[0];
39
+
40
+ colorsResult = [
41
+ `${prefix}${key}: ${svgDarkColors};`
42
+ ];
43
+ exportVariables.push(colorsResult);
44
+ }
45
+ })
46
+ });
47
+ return exportVariables.join('');
48
+ }
49
+
50
+ let arrayIndexCounter = 0;
51
+ mode.forEach(mode => {
52
+ let fileString = files[arrayIndexCounter];
53
+ // let splitPath = fileString.split(/\\/g);
54
+ let getMode = mode;
55
+ ensureDirectoryExistence(fileString);
56
+ fs.writeFileSync(
57
+ fileString,
58
+ `[data-mode='${getMode}'] {${generate(
59
+ getMode
60
+ )}\n}`
61
+ );
62
+ arrayIndexCounter++;
63
+ });
@@ -0,0 +1,92 @@
1
+ var { svgThemeVariables } = require('./json/svgThemeVariableJson');
2
+ var { ensureDirectoryExistence } = require('../../common/pre_utils');
3
+ let fs = require('fs');
4
+ let path = require('path');
5
+ let baseFolder = 'Appearance';
6
+ let mode = ['default', 'dark'];
7
+ let themes = ['blue', 'green', 'orange', 'red', 'yellow'];
8
+ let themeFiles = [];
9
+ let prefix=`\n\t--zdt_cta_`;
10
+ mode.forEach(mode => {
11
+ themes.forEach(theme => {
12
+ let themeFilesString = `../assets/${baseFolder}/${mode}/themes/${theme}/${
13
+ theme + capitalizeFirstLetter(mode)
14
+ }CTATheme.module.css`;
15
+ themeFiles.push(path.join(__dirname, themeFilesString));
16
+ });
17
+ });
18
+ let files = themeFiles;
19
+
20
+ function capitalizeFirstLetter(string) {
21
+ return string.charAt(0).toUpperCase() + string.slice(1);
22
+ }
23
+
24
+ function generate(mode, theme) {
25
+ let exportVariables = [];
26
+
27
+ svgThemeVariables.forEach((element) => {
28
+ Object.entries(element).map(([key, value]) => {
29
+ if (mode == 'default') {
30
+ let svgDefaultColors = value.light;
31
+ let colorsResult = '';
32
+ if (theme == 'blue') {
33
+ colorsResult = [
34
+ `${prefix}${key}: ${svgDefaultColors[0]}`
35
+ ];
36
+ } else if (theme == 'green') {
37
+ colorsResult = [
38
+ `${prefix}${key}: ${svgDefaultColors[1]}`
39
+ ];
40
+ } else if (theme == 'orange') {
41
+ colorsResult = [
42
+ `${prefix}${key}: ${svgDefaultColors[2]}`
43
+ ];
44
+ } else if (theme == 'red') {
45
+ colorsResult = [
46
+ `${prefix}${key}: ${svgDefaultColors[3]}`
47
+ ];
48
+ } else if (theme == 'yellow') {
49
+ colorsResult = [
50
+ `${prefix}${key}: ${svgDefaultColors[4]}`
51
+ ];
52
+ }
53
+ exportVariables.push(colorsResult);
54
+ } else if (mode == 'dark') {
55
+ let svgDarkColors = value.dark;
56
+ let colorsResult = '';
57
+ if (theme == 'blue') {
58
+ colorsResult = [`${prefix}${key}: ${svgDarkColors[0]}`];
59
+ } else if (theme == 'green') {
60
+ colorsResult = [`${prefix}${key}: ${svgDarkColors[1]}`];
61
+ } else if (theme == 'orange') {
62
+ colorsResult = [`${prefix}${key}: ${svgDarkColors[2]}`];
63
+ } else if (theme == 'red') {
64
+ colorsResult = [`${prefix}${key}: ${svgDarkColors[3]}`];
65
+ } else if (theme == 'yellow') {
66
+ colorsResult = [`${prefix}${key}: ${svgDarkColors[4]}`];
67
+ }
68
+ exportVariables.push(colorsResult);
69
+ }
70
+ })
71
+ });
72
+ return exportVariables.join(';');
73
+ }
74
+
75
+ let arrayIndexCounter = 0;
76
+ mode.forEach(mode => {
77
+ themes.forEach(theme => {
78
+ let fileString = files[arrayIndexCounter];
79
+ // let splitPath = fileString.split(/\\/g);
80
+ let getMode = mode;
81
+ let getTheme = theme;
82
+ ensureDirectoryExistence(fileString);
83
+ fs.writeFileSync(
84
+ fileString,
85
+ `[data-mode='${getMode}'][data-theme='${getTheme}'] {${generate(
86
+ getMode,
87
+ getTheme
88
+ )}\n}`
89
+ );
90
+ arrayIndexCounter++;
91
+ });
92
+ });
@@ -0,0 +1,141 @@
1
+ import React from 'react';
2
+ import AppContainer from '@zohodesk/components/lib/AppContainer/AppContainer';
3
+ import { Container } from '@zohodesk/components/lib/Layout';
4
+ import Switch from '@zohodesk/components/lib/Switch/Switch';
5
+ import '@zohodesk/components/assets/Appearance/default/mode/defaultMode.module.css';
6
+ import '@zohodesk/components/assets/Appearance/dark/mode/darkMode.module.css';
7
+ /* default mode & themes */
8
+ import '../assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css';
9
+ import '../assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css';
10
+ import '../assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css';
11
+ import '../assets/Appearance/default/themes/red/redDefaultCTATheme.module.css';
12
+ import '../assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css';
13
+ import '../assets/Appearance/default/mode/defaultEmptyStates.module.css';
14
+ /* dark mode & themes */
15
+ import '../assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css';
16
+ import '../assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css';
17
+ import '../assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css';
18
+ import '../assets/Appearance/dark/themes/red/redDarkCTATheme.module.css';
19
+ import '../assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css';
20
+ import '../assets/Appearance/dark/mode/darkEmptyStates.module.css';
21
+
22
+ export default class Provider extends React.Component {
23
+ constructor(props) {
24
+ super(props);
25
+ this.state = {
26
+ appearanceName: 'default',
27
+ themeName: 'blue'
28
+ };
29
+
30
+ this.switchMode = this.switchMode.bind(this);
31
+ this.setTheme = this.setTheme.bind(this);
32
+ }
33
+
34
+ switchMode() {
35
+ let appearanceName = this.state.appearanceName;
36
+ if (appearanceName == 'default') {
37
+ this.setState({
38
+ appearanceName: 'dark'
39
+ });
40
+ } else {
41
+ this.setState({
42
+ appearanceName: 'default'
43
+ });
44
+ }
45
+ }
46
+
47
+ setTheme(theme) {
48
+ this.setState({
49
+ themeName: theme
50
+ });
51
+ }
52
+
53
+ render() {
54
+ let { appearanceName, themeName } = this.state;
55
+ let themeClass = {
56
+ width: '20px',
57
+ height: '20px',
58
+ borderRadius: '3px',
59
+ display: 'flex',
60
+ border: '1px solid #ccc',
61
+ margin: '0 5px',
62
+ cursor: 'pointer',
63
+ backgroundColor: '#0a73eb'
64
+ };
65
+ let green = {
66
+ backgroundColor: '#26a942'
67
+ };
68
+ let red = {
69
+ backgroundColor: '#de3535'
70
+ };
71
+ let orange = {
72
+ backgroundColor: '#e57717'
73
+ };
74
+ let yellow = {
75
+ backgroundColor: '#e8b923'
76
+ };
77
+
78
+ return (
79
+ <AppContainer
80
+ customProps={{ExtraProps:{'data-mode':appearanceName,'data-theme':themeName}}}
81
+ >
82
+ <Container scroll='vertical'>{this.props.children}</Container>
83
+ <div
84
+ style={{
85
+ position: 'fixed',
86
+ bottom: '0',
87
+ backgroundColor: '#272727',
88
+ padding: '10px',
89
+ borderRadius: '15px 15px 0 0',
90
+ minWidth: '100px',
91
+ textAlign: 'center',
92
+ left: '50%',
93
+ transform: 'translate(-50%)',
94
+ boxShadow: '0 0 3px #000',
95
+ fontSize: '12px',
96
+ zIndex: '3',
97
+ display: 'flex',
98
+ alignItems: 'center'
99
+ }}
100
+ >
101
+ <div>
102
+ <Switch
103
+ id='switchMode'
104
+ text='Light/Night Mode'
105
+ labelSize='small'
106
+ onChange={this.switchMode}
107
+ checked={appearanceName == 'dark'}
108
+ />
109
+ </div>
110
+ <div style={{display: 'flex'}}>
111
+ <span
112
+ title='Blue Theme'
113
+ style={themeClass}
114
+ onClick={() => this.setTheme('blue')}
115
+ ></span>
116
+ <span
117
+ title='Green Theme'
118
+ style={Object.assign({}, themeClass, green)}
119
+ onClick={() => this.setTheme('green')}
120
+ ></span>
121
+ <span
122
+ title='Red Theme'
123
+ style={Object.assign({}, themeClass, red)}
124
+ onClick={() => this.setTheme('red')}
125
+ ></span>
126
+ <span
127
+ title='Orange Theme'
128
+ style={Object.assign({}, themeClass, orange)}
129
+ onClick={() => this.setTheme('orange')}
130
+ ></span>
131
+ <span
132
+ title='Yellow Theme'
133
+ style={Object.assign({}, themeClass, yellow)}
134
+ onClick={() => this.setTheme('yellow')}
135
+ ></span>
136
+ </div>
137
+ </div>
138
+ </AppContainer>
139
+ );
140
+ }
141
+ }
package/src/index.js CHANGED
@@ -1,6 +1,10 @@
1
1
  export { default as React } from 'react';
2
2
  export { default as ReactDOM } from 'react-dom';
3
3
  export { renderToStaticMarkup } from 'react-dom/server';
4
+ import '@zohodesk/variables/assets/sizeVariables.module.css';
4
5
 
6
+ export { default as _provider } from './Provider';
5
7
  export { default as SVG } from './svg/SVG';
6
- export { default as SVG__default } from './svg/docs/SVG__default.docs'
8
+ export { default as SVG__emptystate } from './svg/docs/SVG__default.docs';
9
+ export { default as SVG__common } from './svg/docs/SVG__common.docs';
10
+ export { default as SVG__errorstate } from './svg/docs/SVG__errorstate.docs';
@@ -1,28 +1,119 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import SVG from './SVG';
4
- import image from './images/EmptyAccounts.svg';
4
+
5
5
  export default class EmptyAccounts extends React.Component {
6
6
  render() {
7
- let { size, className='', alignHorizontal } = this.props;
8
7
  return (
9
- <SVG viewBox='0 0 181.9 139.3' name='accounts' size={size} className={className} alignHorizontal={alignHorizontal}>
10
- <image xlinkHref={image} height='100%' width='100%' />
8
+ <SVG viewBox="0 0 200 200" name="accounts" {...this.props}>
9
+ <defs>
10
+ <style>
11
+ {
12
+ ".EmptyAccounts_svg__cls-7,.EmptyAccounts_svg__cls-9{fill:var(--zd_emptysvg_secondary_fill)}.EmptyAccounts_svg__cls-3,.EmptyAccounts_svg__cls-4,.EmptyAccounts_svg__cls-5,.EmptyAccounts_svg__cls-6,.EmptyAccounts_svg__cls-8{fill:none}.EmptyAccounts_svg__cls-3{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyAccounts_svg__cls-8{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyAccounts_svg__cls-4,.EmptyAccounts_svg__cls-5{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyAccounts_svg__cls-5{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyAccounts_svg__cls-6{stroke:var(--zd_emptysvg_small_circle);stroke-linecap:round;stroke-linejoin:round}"
13
+ }
14
+ </style>
15
+ </defs>
16
+ <path
17
+ d="M86.51 62.52S133.43 31.67 157.17 41s40 87.37-26.06 122.41S35.22 122.19 35 108.68c-.28-13.07 0-44.23 51.51-46.16z"
18
+ opacity={0.05}
19
+ fill="var(--zd_emptysvg_primary_fill)"
20
+ />
21
+ <ellipse
22
+ cx={156.04}
23
+ cy={31.69}
24
+ rx={3.54}
25
+ ry={3.51}
26
+ strokeMiterlimit={10}
27
+ stroke="var(--zd_emptysvg_medium_circle)"
28
+ fill="none"
29
+ />
30
+ <ellipse
31
+ className="EmptyAccounts_svg__cls-8"
32
+ cx={79.62}
33
+ cy={29.6}
34
+ rx={2.12}
35
+ ry={2.1}
36
+ />
37
+ <path
38
+ className="EmptyAccounts_svg__cls-4"
39
+ d="M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
40
+ />
41
+ <ellipse
42
+ className="EmptyAccounts_svg__cls-6"
43
+ cx={165.88}
44
+ cy={154.09}
45
+ rx={2.45}
46
+ ry={2.43}
47
+ />
48
+ <path
49
+ className="EmptyAccounts_svg__cls-3"
50
+ d="M175.6 117.21l4.15 4.6M175.36 121.57l4.64-4.12"
51
+ />
52
+ <g opacity={0.3}>
53
+ <ellipse
54
+ className="EmptyAccounts_svg__cls-7"
55
+ cx={70.01}
56
+ cy={92.77}
57
+ rx={13.53}
58
+ ry={13.42}
59
+ />
60
+ <path
61
+ className="EmptyAccounts_svg__cls-7"
62
+ d="M128.12 74.12s5.37-7.3 17.62-.47 3.25 28-11.37 26.24c0 0-4.75-.87-6.36-2-.01-.02 4.36-11.67.11-23.77z"
63
+ />
64
+ <ellipse
65
+ className="EmptyAccounts_svg__cls-7"
66
+ cx={104.52}
67
+ cy={81.92}
68
+ rx={18.72}
69
+ ry={18.56}
70
+ />
71
+ </g>
72
+ <g>
73
+ <ellipse
74
+ className="EmptyAccounts_svg__cls-9"
75
+ cx={70.01}
76
+ cy={92.77}
77
+ rx={13.53}
78
+ ry={13.42}
79
+ />
80
+ <path
81
+ className="EmptyAccounts_svg__cls-9"
82
+ d="M128.12 74.12s5.37-7.3 17.62-.47 3.25 28-11.37 26.24c0 0-4.75-.87-6.36-2-.01-.02 4.36-11.67.11-23.77z"
83
+ />
84
+ <ellipse
85
+ className="EmptyAccounts_svg__cls-9"
86
+ cx={104.52}
87
+ cy={81.92}
88
+ rx={18.72}
89
+ ry={18.56}
90
+ />
91
+ </g>
92
+ <path
93
+ className="EmptyAccounts_svg__cls-5"
94
+ d="M43.12 137.27s26.19 17.89 43.6 1.66a6.4 6.4 0 002-4c.65-6.42 1-24.27-14.68-29.35a17.28 17.28 0 007.88-8.3c2.6-6.49 1.34-16.24-9-18.38-17.24-3.58-19.41 15-13 22.12l3.78 4.56s-18.89 12.48-16.32 23.95c0 0 13.38 12.34 30.06 7.68 0 0 23 28.3 52.82 2.18a7.2 7.2 0 002.43-5.47c-.07-8.11-1.8-29-17-36.76 0 0-13.62 12.11-26.54-3.49s3-32.37 14.56-31 23 5.12 19.49 30.5c0 0 7.75 12.35 20.9 3.5s5.17-20.73 1.65-23.06-13.1-5.77-17.62.47a35.44 35.44 0 01-7.18 35.44 29.18 29.18 0 00-6 10.41c-.88 2.75-1.33 5.66-.39 7.71 2.27 4.95 26.73 11 40.87-2.31a4.65 4.65 0 001.47-3.5c-.06-4.26-1.32-13.89-10.87-18.18 0 0 11.51 20.26 2.12 32.84"
95
+ />
11
96
  </SVG>
12
97
  );
13
98
  }
14
99
  }
15
100
 
16
101
  EmptyAccounts.propTypes = {
17
- size: PropTypes.oneOf('small','large'),
102
+ alignHorizontal: PropTypes.bool,
18
103
  className: PropTypes.string,
19
- alignHorizontal: PropTypes.bool
104
+ dataId: PropTypes.string,
105
+ isRender: PropTypes.bool,
106
+ size: PropTypes.oneOf(['small', 'large']),
107
+ palette: PropTypes.oneOf(['default', 'dark'])
20
108
  };
21
109
  EmptyAccounts.defaultProps = {
22
110
  size: 'large',
23
- alignHorizontal: true
24
- }
25
-
111
+ alignHorizontal: true,
112
+ isRender: true,
113
+ className: '',
114
+ dataId: 'emptyAccounts',
115
+ palette: 'default'
116
+ };
26
117
  if (__DOCS__) {
27
118
  EmptyAccounts.docs = {
28
119
  componentGroup: 'SVG'
@@ -1,32 +1,81 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import SVG from './SVG';
4
- import image from './images/EmptyActiveCalls.svg';
4
+
5
5
  export default class EmptyActiveCalls extends React.Component {
6
6
  render() {
7
- let { isRender, size, className='', alignHorizontal } = this.props;
8
7
  return (
9
- <SVG
10
- viewBox='0 0 181.9 139.3'
11
- name='ActiveCalls'
12
- isRender={isRender}
13
- size={size} className={className} alignHorizontal={alignHorizontal}
14
- >
15
- <image xlinkHref={image} height='100%' width='100%' />
8
+ <SVG viewBox='0 0 200 200' name='ActiveCalls' {...this.props}>
9
+ <defs>
10
+ <style>
11
+ {
12
+ ".EmptyActiveCalls_svg__cls-4,.EmptyActiveCalls_svg__cls-5,.EmptyActiveCalls_svg__cls-6,.EmptyActiveCalls_svg__cls-7,.EmptyActiveCalls_svg__cls-8{fill:none}.EmptyActiveCalls_svg__cls-4{stroke-miterlimit:10;stroke:var(--zd_emptysvg_cross)}.EmptyActiveCalls_svg__cls-7{stroke-miterlimit:10;stroke:var(--zd_emptysvg_tiny_circle)}.EmptyActiveCalls_svg__cls-5,.EmptyActiveCalls_svg__cls-6{stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.EmptyActiveCalls_svg__cls-6{stroke:var(--zd_emptysvg_primary_stroke)}.EmptyActiveCalls_svg__cls-8{stroke:var(--zd_emptysvg_small_circle);stroke-linecap:round;stroke-linejoin:round}"
13
+ }
14
+ </style>
15
+ </defs>
16
+ <path
17
+ d="M86.51 62.52S133.43 31.67 157.17 41s40 87.37-26.06 122.41S35.22 122.19 35 108.68c-.28-13.07 0-44.23 51.51-46.16z"
18
+ fill="var(--zd_emptysvg_primary_fill)"
19
+ opacity={0.05}
20
+ />
21
+ <ellipse
22
+ cx={156.04}
23
+ cy={31.69}
24
+ rx={3.54}
25
+ ry={3.51}
26
+ strokeMiterlimit={10}
27
+ stroke="var(--zd_emptysvg_medium_circle)"
28
+ fill="none"
29
+ />
30
+ <ellipse
31
+ className="EmptyActiveCalls_svg__cls-7"
32
+ cx={79.62}
33
+ cy={29.6}
34
+ rx={2.12}
35
+ ry={2.1}
36
+ />
37
+ <path
38
+ className="EmptyActiveCalls_svg__cls-5"
39
+ d="M23.28 100.86l-.35 6.16M20 103.76l6.22.35"
40
+ />
41
+ <ellipse
42
+ className="EmptyActiveCalls_svg__cls-8"
43
+ cx={165.88}
44
+ cy={154.09}
45
+ rx={2.45}
46
+ ry={2.43}
47
+ />
48
+ <path
49
+ className="EmptyActiveCalls_svg__cls-4"
50
+ d="M175.6 117.21l4.15 4.6M175.36 121.57l4.64-4.12"
51
+ />
52
+ <path
53
+ d="M79.93 53.67c6.28.38 9.53 13.52 8.06 18.09s-6.15 4.54-10.33-1.48-2-16.09-2-16.09c.53-.82 4.27-.52 4.27-.52zm15.35 57.76s3.88 8.57 9.94 10.57 8.88 3.58 10.12-.5c0 0-2.21-10.29-14.9-12.13 0-.02-2.16-.24-5.16 2.06z"
54
+ fill="var(--zd_emptysvg_secondary_fill)"
55
+ />
56
+ <path
57
+ className="EmptyActiveCalls_svg__cls-6"
58
+ d="M64.76 119.92h18.49S67.07 90.31 65.72 83.25s-3.66-20.63 3.86-26 13.67-4.2 15.79 0 6.75 22-4 17c0 0-7.13-4.2-6.55-17a3.4 3.4 0 00-3 2.82c-.61 2.7.49 12.49 6.46 16a7.05 7.05 0 01-4.77 1.67s6.92 21.53 19.17 36.42c0 0 5.39-8.09 13-3.32s11.51 8.81 9 15-12.39 9.25-19 6.65-10.5-9.69-10.5-9.69 12.1 12.72 24.34 3.76c0 0-12.09-2.75-13.84-10 0 0 .57-2.1 1.19-2.1a21.06 21.06 0 0016.49 9.68s-4.48 8-3.5 9.25 8.47 18.38 20.72 13.88 9.31-21.6 20.65-24.75 17.93-2.92 17.93-2.92"
59
+ />
16
60
  </SVG>
17
61
  );
18
62
  }
19
63
  }
20
64
  EmptyActiveCalls.propTypes = {
21
- isRender: PropTypes.bool,
22
- size: PropTypes.oneOf('small','large'),
65
+ alignHorizontal: PropTypes.bool,
23
66
  className: PropTypes.string,
24
- alignHorizontal: PropTypes.bool
67
+ dataId: PropTypes.string,
68
+ isRender: PropTypes.bool,
69
+ size: PropTypes.oneOf(['small', 'large']),
70
+ palette: PropTypes.oneOf(['default', 'dark'])
25
71
  };
26
72
  EmptyActiveCalls.defaultProps = {
27
- isRender: true,
28
73
  size: 'large',
29
- alignHorizontal: true
74
+ alignHorizontal: true,
75
+ isRender: true,
76
+ className: '',
77
+ dataId: 'emptyActiveCalls',
78
+ palette: 'default'
30
79
  };
31
80
 
32
81
  if (__DOCS__) {