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

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 (280) hide show
  1. package/README.md +9 -1
  2. package/assets/Appearance/dark/mode/darkEmptyStates.module.css +37 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +10 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -0
  6. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -0
  8. package/assets/Appearance/default/mode/defaultEmptyStates.module.css +37 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +10 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +10 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +10 -0
  12. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +10 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +10 -0
  14. package/{src → es}/Provider.js +66 -67
  15. package/{src → es}/index.js +1 -2
  16. package/es/svg/EmptyAccounts.js +101 -0
  17. package/es/svg/EmptyActiveCalls.js +72 -0
  18. package/es/svg/EmptyActivity.js +72 -0
  19. package/es/svg/EmptyAgent.js +72 -0
  20. package/es/svg/EmptyAgentQueue.js +78 -0
  21. package/es/svg/EmptyApproval.js +78 -0
  22. package/es/svg/EmptyArchived.js +80 -0
  23. package/es/svg/EmptyAttach.js +72 -0
  24. package/es/svg/EmptyBlueprint.js +87 -0
  25. package/{src → es}/svg/EmptyBusinessHoliday.js +13 -8
  26. package/{src → es}/svg/EmptyBusinessHour.js +13 -8
  27. package/es/svg/EmptyCallHistory.js +74 -0
  28. package/es/svg/EmptyCollision.js +72 -0
  29. package/es/svg/EmptyColumn.js +78 -0
  30. package/es/svg/EmptyContact.js +72 -0
  31. package/es/svg/EmptyContract.js +68 -0
  32. package/es/svg/EmptyConversation.js +72 -0
  33. package/es/svg/EmptyCrm.js +72 -0
  34. package/es/svg/EmptyCrmNotes.js +83 -0
  35. package/es/svg/EmptyCrmPotential.js +86 -0
  36. package/{src → es}/svg/EmptyCustomDomain.js +13 -7
  37. package/es/svg/EmptyDashboard.js +78 -0
  38. package/es/svg/EmptyDepartment.js +72 -0
  39. package/es/svg/EmptyError.js +94 -0
  40. package/es/svg/EmptyFeed.js +75 -0
  41. package/es/svg/EmptyFollowers.js +73 -0
  42. package/es/svg/EmptyFrame.js +71 -0
  43. package/{src → es}/svg/EmptyFromAddress.js +14 -7
  44. package/es/svg/EmptyHappiness.js +72 -0
  45. package/es/svg/EmptyHistory.js +72 -0
  46. package/{src → es}/svg/EmptyImportHistory.js +14 -7
  47. package/es/svg/EmptyInconvenience.js +42 -0
  48. package/es/svg/EmptyInvoice.js +77 -0
  49. package/{src → es}/svg/EmptyNetwork.js +14 -7
  50. package/es/svg/EmptyNotification.js +72 -0
  51. package/es/svg/EmptyProducts.js +75 -0
  52. package/{src → es}/svg/EmptyRecycleBin.js +14 -7
  53. package/es/svg/EmptyReply.js +67 -0
  54. package/es/svg/EmptyReports.js +78 -0
  55. package/{src → es}/svg/EmptyRoles.js +14 -7
  56. package/es/svg/EmptySchedule.js +114 -0
  57. package/es/svg/EmptySearch.js +82 -0
  58. package/es/svg/EmptySkills.js +120 -0
  59. package/es/svg/EmptySla.js +67 -0
  60. package/es/svg/EmptySnippet.js +82 -0
  61. package/{src → es}/svg/EmptyStateVariables.module.css +0 -0
  62. package/es/svg/EmptyTag.js +75 -0
  63. package/es/svg/EmptyTask.js +88 -0
  64. package/es/svg/EmptyTeams.js +72 -0
  65. package/es/svg/EmptyTemplate.js +84 -0
  66. package/es/svg/EmptyTicket.js +75 -0
  67. package/es/svg/EmptyTimeEntry.js +78 -0
  68. package/es/svg/EmptyTimeline.js +72 -0
  69. package/es/svg/EmptyTopic.js +78 -0
  70. package/es/svg/EmptyUnauthorizedLogin.js +47 -0
  71. package/{src → es}/svg/EmptyWebhook.js +14 -7
  72. package/es/svg/EmptyWillBeRightBack.js +42 -0
  73. package/es/svg/ErrorInconvenience.js +113 -0
  74. package/es/svg/ErrorOopsSomethingMiss.js +114 -0
  75. package/es/svg/ErrorUnableToProcessRequest.js +114 -0
  76. package/es/svg/ErrorUnauthorizedLogin.js +113 -0
  77. package/es/svg/ErrorUrlNotFound.js +114 -0
  78. package/es/svg/ErrorWillBeRightBack.js +113 -0
  79. package/es/svg/Export.js +67 -0
  80. package/es/svg/Extensions.js +73 -0
  81. package/es/svg/Extractor.js +66 -0
  82. package/es/svg/FailureLog.js +39 -0
  83. package/es/svg/Import.js +82 -0
  84. package/es/svg/Loader.js +71 -0
  85. package/es/svg/Multilingual.js +72 -0
  86. package/es/svg/NoRequestFound.js +42 -0
  87. package/es/svg/NotImpossible.js +79 -0
  88. package/es/svg/PageNotFound.js +43 -0
  89. package/es/svg/Predictor.js +73 -0
  90. package/es/svg/SVG.js +78 -0
  91. package/{src → es}/svg/SVG.module.css +0 -0
  92. package/es/svg/SvgLoader.js +28 -0
  93. package/es/svg/UnableToProcessRequest.js +43 -0
  94. package/es/svg/UnauthorizedLogin.js +43 -0
  95. package/es/svg/UrlNotFound.js +43 -0
  96. package/es/svg/WillBeRightBack.js +43 -0
  97. package/es/svg/ZiaAnamoly.js +67 -0
  98. package/{src → es}/svg/images/EmptyBusinessHoliday.svg +0 -0
  99. package/{src → es}/svg/images/EmptyBusinessHour.svg +0 -0
  100. package/{src → es}/svg/images/EmptyContactInfo.svg +0 -0
  101. package/{src → es}/svg/images/EmptyCustomDomain.svg +0 -0
  102. package/{src → es}/svg/images/EmptyFilter.svg +0 -0
  103. package/{src → es}/svg/images/EmptyFromAddress.svg +0 -0
  104. package/{src → es}/svg/images/EmptyImportHistory.svg +0 -0
  105. package/{src → es}/svg/images/EmptyNetwork.svg +0 -0
  106. package/{src → es}/svg/images/EmptyRecycleBin.svg +0 -0
  107. package/{src → es}/svg/images/EmptyRoles.svg +0 -0
  108. package/{src → es}/svg/images/EmptySkills.svg +0 -0
  109. package/{src → es}/svg/images/EmptyWebhook.svg +0 -0
  110. package/{src → es}/svg/images/FailureLog.svg +0 -0
  111. package/{src → es}/svg/images/Inconvenience.svg +0 -0
  112. package/{src → es}/svg/images/NoRequestFound.svg +0 -0
  113. package/{src → es}/svg/images/PageNotFound.svg +0 -0
  114. package/{src → es}/svg/images/ReguestUrlNotFound.svg +0 -0
  115. package/{src → es}/svg/images/UnableToProcess.svg +0 -0
  116. package/{src → es}/svg/images/UnauthorizedLogin.svg +0 -0
  117. package/{src → es}/svg/images/WillBack.svg +0 -0
  118. package/{src → es}/svg/utils.js +1 -2
  119. package/lib/Provider.js +1 -1
  120. package/lib/svg/EmptyAccounts.js +1 -1
  121. package/lib/svg/EmptyActiveCalls.js +1 -1
  122. package/lib/svg/EmptyActivity.js +1 -1
  123. package/lib/svg/EmptyAgent.js +1 -1
  124. package/lib/svg/EmptyAgentQueue.js +1 -1
  125. package/lib/svg/EmptyApproval.js +1 -1
  126. package/lib/svg/EmptyArchived.js +1 -1
  127. package/lib/svg/EmptyAttach.js +1 -1
  128. package/lib/svg/EmptyBlueprint.js +1 -1
  129. package/lib/svg/EmptyBusinessHoliday.js +1 -1
  130. package/lib/svg/EmptyBusinessHour.js +1 -1
  131. package/lib/svg/EmptyCallHistory.js +1 -1
  132. package/lib/svg/EmptyCollision.js +1 -1
  133. package/lib/svg/EmptyColumn.js +1 -1
  134. package/lib/svg/EmptyContact.js +1 -1
  135. package/lib/svg/EmptyContract.js +1 -1
  136. package/lib/svg/EmptyConversation.js +1 -1
  137. package/lib/svg/EmptyCrm.js +1 -1
  138. package/lib/svg/EmptyCrmNotes.js +1 -1
  139. package/lib/svg/EmptyCrmPotential.js +1 -1
  140. package/lib/svg/EmptyCustomDomain.js +1 -1
  141. package/lib/svg/EmptyDashboard.js +1 -1
  142. package/lib/svg/EmptyDepartment.js +1 -1
  143. package/lib/svg/EmptyError.js +1 -1
  144. package/lib/svg/EmptyFeed.js +1 -1
  145. package/lib/svg/EmptyFollowers.js +1 -1
  146. package/lib/svg/EmptyFrame.js +1 -1
  147. package/lib/svg/EmptyFromAddress.js +1 -1
  148. package/lib/svg/EmptyHappiness.js +1 -1
  149. package/lib/svg/EmptyHistory.js +1 -1
  150. package/lib/svg/EmptyImportHistory.js +1 -1
  151. package/lib/svg/EmptyInconvenience.js +1 -1
  152. package/lib/svg/EmptyInvoice.js +1 -1
  153. package/lib/svg/EmptyNetwork.js +1 -1
  154. package/lib/svg/EmptyNotification.js +1 -1
  155. package/lib/svg/EmptyProducts.js +1 -1
  156. package/lib/svg/EmptyRecycleBin.js +1 -1
  157. package/lib/svg/EmptyReply.js +1 -1
  158. package/lib/svg/EmptyReports.js +1 -1
  159. package/lib/svg/EmptyRoles.js +1 -1
  160. package/lib/svg/EmptySchedule.js +1 -1
  161. package/lib/svg/EmptySearch.js +1 -1
  162. package/lib/svg/EmptySkills.js +1 -1
  163. package/lib/svg/EmptySla.js +1 -1
  164. package/lib/svg/EmptySnippet.js +1 -1
  165. package/lib/svg/EmptyTag.js +1 -1
  166. package/lib/svg/EmptyTask.js +1 -1
  167. package/lib/svg/EmptyTeams.js +1 -1
  168. package/lib/svg/EmptyTemplate.js +1 -1
  169. package/lib/svg/EmptyTicket.js +1 -1
  170. package/lib/svg/EmptyTimeEntry.js +1 -1
  171. package/lib/svg/EmptyTimeline.js +1 -1
  172. package/lib/svg/EmptyTopic.js +1 -1
  173. package/lib/svg/EmptyUnauthorizedLogin.js +1 -1
  174. package/lib/svg/EmptyWebhook.js +1 -1
  175. package/lib/svg/EmptyWillBeRightBack.js +1 -1
  176. package/lib/svg/ErrorInconvenience.js +1 -1
  177. package/lib/svg/ErrorOopsSomethingMiss.js +1 -1
  178. package/lib/svg/ErrorUnableToProcessRequest.js +1 -1
  179. package/lib/svg/ErrorUnauthorizedLogin.js +1 -1
  180. package/lib/svg/ErrorUrlNotFound.js +1 -1
  181. package/lib/svg/ErrorWillBeRightBack.js +1 -1
  182. package/lib/svg/Export.js +117 -0
  183. package/lib/svg/Extensions.js +123 -0
  184. package/lib/svg/Extractor.js +1 -1
  185. package/lib/svg/FailureLog.js +1 -1
  186. package/lib/svg/Import.js +1 -1
  187. package/lib/svg/Loader.js +1 -1
  188. package/lib/svg/Multilingual.js +122 -0
  189. package/lib/svg/NoRequestFound.js +1 -1
  190. package/lib/svg/NotImpossible.js +1 -1
  191. package/lib/svg/PageNotFound.js +1 -1
  192. package/lib/svg/Predictor.js +1 -1
  193. package/lib/svg/SVG.js +1 -1
  194. package/lib/svg/UnableToProcessRequest.js +1 -1
  195. package/lib/svg/UnauthorizedLogin.js +1 -1
  196. package/lib/svg/UrlNotFound.js +1 -1
  197. package/lib/svg/WillBeRightBack.js +1 -1
  198. package/lib/svg/ZiaAnamoly.js +1 -1
  199. package/package.json +13 -14
  200. package/lib/svg/docs/SVG__common.docs.js +0 -98
  201. package/lib/svg/docs/SVG__default.docs.js +0 -435
  202. package/lib/svg/docs/SVG__errorstate.docs.js +0 -129
  203. package/lib/svg/docs/SVGdocstyle.module.css +0 -8
  204. package/preprocess/index.js +0 -2
  205. package/preprocess/json/svgAppearanceVariableJson.js +0 -151
  206. package/preprocess/json/svgThemeVariableJson.js +0 -71
  207. package/preprocess/svgAppearanceColors.js +0 -63
  208. package/preprocess/svgThemeColors.js +0 -92
  209. package/src/svg/EmptyAccounts.js +0 -121
  210. package/src/svg/EmptyActiveCalls.js +0 -85
  211. package/src/svg/EmptyActivity.js +0 -85
  212. package/src/svg/EmptyAgent.js +0 -85
  213. package/src/svg/EmptyAgentQueue.js +0 -94
  214. package/src/svg/EmptyApproval.js +0 -85
  215. package/src/svg/EmptyArchived.js +0 -94
  216. package/src/svg/EmptyAttach.js +0 -85
  217. package/src/svg/EmptyBlueprint.js +0 -106
  218. package/src/svg/EmptyCallHistory.js +0 -82
  219. package/src/svg/EmptyCollision.js +0 -85
  220. package/src/svg/EmptyColumn.js +0 -91
  221. package/src/svg/EmptyContact.js +0 -85
  222. package/src/svg/EmptyContract.js +0 -81
  223. package/src/svg/EmptyConversation.js +0 -85
  224. package/src/svg/EmptyCrm.js +0 -84
  225. package/src/svg/EmptyCrmNotes.js +0 -96
  226. package/src/svg/EmptyCrmPotential.js +0 -100
  227. package/src/svg/EmptyDashboard.js +0 -90
  228. package/src/svg/EmptyDepartment.js +0 -87
  229. package/src/svg/EmptyError.js +0 -42
  230. package/src/svg/EmptyFeed.js +0 -87
  231. package/src/svg/EmptyFollowers.js +0 -85
  232. package/src/svg/EmptyFrame.js +0 -83
  233. package/src/svg/EmptyHappiness.js +0 -85
  234. package/src/svg/EmptyHistory.js +0 -84
  235. package/src/svg/EmptyInconvenience.js +0 -37
  236. package/src/svg/EmptyInvoice.js +0 -90
  237. package/src/svg/EmptyNotification.js +0 -84
  238. package/src/svg/EmptyProducts.js +0 -88
  239. package/src/svg/EmptyReply.js +0 -81
  240. package/src/svg/EmptyReports.js +0 -90
  241. package/src/svg/EmptySchedule.js +0 -131
  242. package/src/svg/EmptySearch.js +0 -95
  243. package/src/svg/EmptySkills.js +0 -116
  244. package/src/svg/EmptySla.js +0 -81
  245. package/src/svg/EmptySnippet.js +0 -96
  246. package/src/svg/EmptyTag.js +0 -88
  247. package/src/svg/EmptyTask.js +0 -97
  248. package/src/svg/EmptyTeams.js +0 -85
  249. package/src/svg/EmptyTemplate.js +0 -88
  250. package/src/svg/EmptyTicket.js +0 -88
  251. package/src/svg/EmptyTimeEntry.js +0 -91
  252. package/src/svg/EmptyTimeline.js +0 -85
  253. package/src/svg/EmptyTopic.js +0 -92
  254. package/src/svg/EmptyUnauthorizedLogin.js +0 -44
  255. package/src/svg/EmptyWillBeRightBack.js +0 -44
  256. package/src/svg/ErrorInconvenience.js +0 -128
  257. package/src/svg/ErrorOopsSomethingMiss.js +0 -128
  258. package/src/svg/ErrorUnableToProcessRequest.js +0 -128
  259. package/src/svg/ErrorUnauthorizedLogin.js +0 -127
  260. package/src/svg/ErrorUrlNotFound.js +0 -128
  261. package/src/svg/ErrorWillBeRightBack.js +0 -127
  262. package/src/svg/Extractor.js +0 -76
  263. package/src/svg/FailureLog.js +0 -32
  264. package/src/svg/Import.js +0 -85
  265. package/src/svg/Loader.js +0 -81
  266. package/src/svg/NoRequestFound.js +0 -37
  267. package/src/svg/NotImpossible.js +0 -80
  268. package/src/svg/PageNotFound.js +0 -38
  269. package/src/svg/Predictor.js +0 -78
  270. package/src/svg/SVG.js +0 -107
  271. package/src/svg/SvgLoader.js +0 -21
  272. package/src/svg/UnableToProcessRequest.js +0 -37
  273. package/src/svg/UnauthorizedLogin.js +0 -37
  274. package/src/svg/UrlNotFound.js +0 -37
  275. package/src/svg/WillBeRightBack.js +0 -37
  276. package/src/svg/ZiaAnamoly.js +0 -76
  277. package/src/svg/docs/SVG__common.docs.js +0 -47
  278. package/src/svg/docs/SVG__default.docs.js +0 -233
  279. package/src/svg/docs/SVG__errorstate.docs.js +0 -75
  280. package/src/svg/docs/SVGdocstyle.module.css +0 -8
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
25
25
 
26
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
23
23
 
24
24
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
package/lib/svg/SVG.js CHANGED
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
23
23
 
24
24
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
25
25
 
26
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
25
25
 
26
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
25
25
 
26
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
25
25
 
26
26
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
27
27
 
28
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
29
 
30
30
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
31
 
@@ -23,7 +23,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
23
23
 
24
24
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
25
25
 
26
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
27
27
 
28
28
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
29
29
 
package/package.json CHANGED
@@ -1,47 +1,46 @@
1
1
  {
2
2
  "name": "@zohodesk/svg",
3
- "version": "1.0.0-beta.40",
3
+ "version": "1.0.0-beta.43",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
7
7
  "private": false,
8
8
  "umdVar": "Library",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/vimalceg/fz-dnd.git"
12
- },
13
9
  "author": "",
14
10
  "license": "ISC",
15
- "bugs": {
16
- "url": "https://github.com/vimalceg/fz-dnd/issues"
17
- },
18
- "homepage": "https://github.com/vimalceg/fz-dnd#readme",
19
11
  "scripts": {
20
12
  "clean": "react-cli clean lib es coverage",
21
13
  "build": "react-cli build:component:cmjs",
22
14
  "build:es": "react-cli build:library:es",
23
- "build:dev": "npm run clean && npm run build:es --module:mode=dev -- -w",
15
+ "build:dev": "npm run clean && npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
16
+ "rtl:watch": "react-cli rtl ./src ./es -w",
24
17
  "prepare": "npm run init && npm run build && npm run build:es",
25
18
  "init": "npm run clean && npm run build:variables",
26
19
  "build:variables": "node ./preprocess/index",
27
20
  "lint": "react-cli lint",
28
21
  "docs": "react-cli docs",
29
22
  "postpublish": "react-cli postpublish",
30
- "download": "rm package-lock.json && rm -rf node_modules/ && npm install"
23
+ "download": "rm package-lock.json && rm -rf node_modules/ && npm install",
24
+ "expublish": "npm publish --tag experimental-version"
31
25
  },
32
26
  "react-cli": {
33
27
  "preprocessor": {
34
28
  "runner": "preprocess/index.js"
29
+ },
30
+ "docs": {
31
+ "cssUniqueness": "false",
32
+ "disableES5Transpile": true
35
33
  }
36
34
  },
35
+ "dependencies": {},
37
36
  "devDependencies": {
38
37
  "@zohodesk/variables": "1.0.0-beta.29",
39
- "@zohodesk/components": "1.0.0-alpha-225",
40
- "@svgr/cli": "5.5.0"
38
+ "@zohodesk/components": "1.0.0-alpha-233",
39
+ "@svgr/cli": "6.2.1"
41
40
  },
42
41
  "peerDependencies": {
43
42
  "@zohodesk/variables": "1.0.0-beta.29",
44
- "@zohodesk/components": "1.0.0-alpha-225"
43
+ "@zohodesk/components": "1.0.0-alpha-233"
45
44
  },
46
45
  "tags": [
47
46
  "react",
@@ -1,98 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _Loader = _interopRequireDefault(require("../Loader"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
-
18
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
19
-
20
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
-
22
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
-
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
-
26
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
27
-
28
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
-
30
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
-
32
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
-
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
-
36
- var SVG__common = /*#__PURE__*/function (_React$Component) {
37
- _inherits(SVG__common, _React$Component);
38
-
39
- var _super = _createSuper(SVG__common);
40
-
41
- function SVG__common() {
42
- _classCallCheck(this, SVG__common);
43
-
44
- return _super.apply(this, arguments);
45
- }
46
-
47
- _createClass(SVG__common, [{
48
- key: "render",
49
- value: function render() {
50
- var boxStyle = {
51
- minWidth: '15%',
52
- border: '1px solid #dcdcdc',
53
- padding: '5px',
54
- margin: '5px',
55
- flex: '1',
56
- maxWidth: '25%',
57
- justifyContent: 'space-between'
58
- };
59
- var textStyle = {
60
- textAlign: 'center',
61
- padding: '10px 0',
62
- background: ' #f9f9f9',
63
- marginTop: '10px',
64
- color: '#000'
65
- };
66
- return /*#__PURE__*/_react["default"].createElement("div", {
67
- style: {
68
- display: 'flex',
69
- flexDirection: 'row',
70
- alignItems: 'center',
71
- justifyContent: 'center',
72
- flexWrap: 'wrap',
73
- height: '100%'
74
- }
75
- }, /*#__PURE__*/_react["default"].createElement("div", {
76
- style: boxStyle
77
- }, /*#__PURE__*/_react["default"].createElement("div", {
78
- style: {
79
- height: '40px',
80
- width: '40px',
81
- margin: 'auto'
82
- }
83
- }, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null)), /*#__PURE__*/_react["default"].createElement("div", {
84
- style: textStyle
85
- }, "Loader")));
86
- }
87
- }]);
88
-
89
- return SVG__common;
90
- }(_react["default"].Component);
91
-
92
- exports["default"] = SVG__common;
93
-
94
- if (false) {
95
- SVG__common.docs = {
96
- componentGroup: 'SVG'
97
- };
98
- }