@zohodesk/svg 1.0.0-beta.35 → 1.0.0-beta.39

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 (260) hide show
  1. package/README.md +15 -0
  2. package/lib/Provider.js +15 -15
  3. package/lib/index.js +13 -13
  4. package/lib/svg/EmptyAccounts.js +3 -3
  5. package/lib/svg/EmptyActiveCalls.js +3 -3
  6. package/lib/svg/EmptyActivity.js +3 -3
  7. package/lib/svg/EmptyAgent.js +3 -3
  8. package/lib/svg/EmptyAgentQueue.js +3 -3
  9. package/lib/svg/EmptyApproval.js +3 -3
  10. package/lib/svg/EmptyArchived.js +3 -3
  11. package/lib/svg/EmptyAttach.js +3 -3
  12. package/lib/svg/EmptyBlueprint.js +3 -3
  13. package/lib/svg/EmptyBusinessHoliday.js +3 -3
  14. package/lib/svg/EmptyBusinessHour.js +3 -3
  15. package/lib/svg/EmptyCallHistory.js +3 -3
  16. package/lib/svg/EmptyCollision.js +3 -3
  17. package/lib/svg/EmptyColumn.js +3 -3
  18. package/lib/svg/EmptyContact.js +3 -3
  19. package/lib/svg/EmptyContract.js +3 -3
  20. package/lib/svg/EmptyConversation.js +3 -3
  21. package/lib/svg/EmptyCrm.js +3 -3
  22. package/lib/svg/EmptyCrmNotes.js +3 -3
  23. package/lib/svg/EmptyCrmPotential.js +3 -3
  24. package/lib/svg/EmptyCustomDomain.js +3 -3
  25. package/lib/svg/EmptyDashboard.js +3 -3
  26. package/lib/svg/EmptyDepartment.js +3 -3
  27. package/lib/svg/EmptyError.js +3 -3
  28. package/lib/svg/EmptyFeed.js +3 -3
  29. package/lib/svg/EmptyFollowers.js +3 -3
  30. package/lib/svg/EmptyFrame.js +3 -3
  31. package/lib/svg/EmptyFromAddress.js +3 -3
  32. package/lib/svg/EmptyHappiness.js +3 -3
  33. package/lib/svg/EmptyHistory.js +3 -3
  34. package/lib/svg/EmptyImportHistory.js +3 -3
  35. package/lib/svg/EmptyInconvenience.js +3 -3
  36. package/lib/svg/EmptyInvoice.js +3 -3
  37. package/lib/svg/EmptyNetwork.js +3 -3
  38. package/lib/svg/EmptyNotification.js +3 -3
  39. package/lib/svg/EmptyProducts.js +3 -3
  40. package/lib/svg/EmptyRecycleBin.js +3 -3
  41. package/lib/svg/EmptyReply.js +3 -3
  42. package/lib/svg/EmptyReports.js +3 -3
  43. package/lib/svg/EmptyRoles.js +3 -3
  44. package/lib/svg/EmptySchedule.js +3 -3
  45. package/lib/svg/EmptySearch.js +3 -3
  46. package/lib/svg/EmptySkills.js +3 -3
  47. package/lib/svg/EmptySla.js +3 -3
  48. package/lib/svg/EmptySnippet.js +3 -3
  49. package/lib/svg/EmptyTag.js +3 -3
  50. package/lib/svg/EmptyTask.js +3 -3
  51. package/lib/svg/EmptyTeams.js +3 -3
  52. package/lib/svg/EmptyTemplate.js +3 -3
  53. package/lib/svg/EmptyTicket.js +3 -3
  54. package/lib/svg/EmptyTimeEntry.js +3 -3
  55. package/lib/svg/EmptyTimeline.js +3 -3
  56. package/lib/svg/EmptyTopic.js +3 -3
  57. package/lib/svg/EmptyUnauthorizedLogin.js +3 -3
  58. package/lib/svg/EmptyWebhook.js +3 -3
  59. package/lib/svg/EmptyWillBeRightBack.js +3 -3
  60. package/lib/svg/ErrorInconvenience.js +3 -3
  61. package/lib/svg/ErrorOopsSomethingMiss.js +3 -3
  62. package/lib/svg/ErrorUnableToProcessRequest.js +3 -3
  63. package/lib/svg/ErrorUnauthorizedLogin.js +3 -3
  64. package/lib/svg/ErrorUrlNotFound.js +3 -3
  65. package/lib/svg/ErrorWillBeRightBack.js +3 -3
  66. package/lib/svg/Extractor.js +3 -3
  67. package/lib/svg/FailureLog.js +3 -3
  68. package/lib/svg/Import.js +3 -3
  69. package/lib/svg/Loader.js +25 -19
  70. package/lib/svg/NoRequestFound.js +3 -3
  71. package/lib/svg/NotImpossible.js +3 -3
  72. package/lib/svg/PageNotFound.js +3 -3
  73. package/lib/svg/Predictor.js +3 -3
  74. package/lib/svg/SVG.js +3 -3
  75. package/lib/svg/SvgLoader.js +2 -2
  76. package/lib/svg/UnableToProcessRequest.js +3 -3
  77. package/lib/svg/UnauthorizedLogin.js +3 -3
  78. package/lib/svg/UrlNotFound.js +3 -3
  79. package/lib/svg/WillBeRightBack.js +3 -3
  80. package/lib/svg/ZiaAnamoly.js +3 -3
  81. package/lib/svg/docs/SVG__common.docs.js +3 -3
  82. package/lib/svg/docs/SVG__default.docs.js +3 -3
  83. package/lib/svg/docs/SVG__errorstate.docs.js +3 -3
  84. package/lib/svg/utils.js +1 -1
  85. package/package.json +10 -4
  86. package/preprocess/index.js +2 -0
  87. package/preprocess/json/svgAppearanceVariableJson.js +151 -0
  88. package/preprocess/json/svgThemeVariableJson.js +71 -0
  89. package/preprocess/svgAppearanceColors.js +63 -0
  90. package/preprocess/svgThemeColors.js +92 -0
  91. package/src/Provider.js +12 -12
  92. package/src/index.js +1 -1
  93. package/src/svg/Loader.js +18 -10
  94. package/build/Unusedfiles.json +0 -1
  95. package/es/Provider.js +0 -140
  96. package/es/index.js +0 -9
  97. package/es/svg/Appearance/dark/mode/darkEmptyStates.module.css +0 -37
  98. package/es/svg/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -10
  99. package/es/svg/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -10
  100. package/es/svg/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -10
  101. package/es/svg/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -10
  102. package/es/svg/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -10
  103. package/es/svg/Appearance/default/mode/defaultEmptyStates.module.css +0 -37
  104. package/es/svg/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -10
  105. package/es/svg/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -10
  106. package/es/svg/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -10
  107. package/es/svg/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -10
  108. package/es/svg/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -10
  109. package/es/svg/EmptyAccounts.js +0 -101
  110. package/es/svg/EmptyActiveCalls.js +0 -72
  111. package/es/svg/EmptyActivity.js +0 -72
  112. package/es/svg/EmptyAgent.js +0 -72
  113. package/es/svg/EmptyAgentQueue.js +0 -78
  114. package/es/svg/EmptyApproval.js +0 -78
  115. package/es/svg/EmptyArchived.js +0 -80
  116. package/es/svg/EmptyAttach.js +0 -72
  117. package/es/svg/EmptyBlueprint.js +0 -87
  118. package/es/svg/EmptyBusinessHoliday.js +0 -39
  119. package/es/svg/EmptyBusinessHour.js +0 -39
  120. package/es/svg/EmptyCallHistory.js +0 -74
  121. package/es/svg/EmptyCollision.js +0 -72
  122. package/es/svg/EmptyColumn.js +0 -78
  123. package/es/svg/EmptyContact.js +0 -72
  124. package/es/svg/EmptyContract.js +0 -68
  125. package/es/svg/EmptyConversation.js +0 -72
  126. package/es/svg/EmptyCrm.js +0 -72
  127. package/es/svg/EmptyCrmNotes.js +0 -83
  128. package/es/svg/EmptyCrmPotential.js +0 -86
  129. package/es/svg/EmptyCustomDomain.js +0 -39
  130. package/es/svg/EmptyDashboard.js +0 -78
  131. package/es/svg/EmptyDepartment.js +0 -72
  132. package/es/svg/EmptyError.js +0 -94
  133. package/es/svg/EmptyFeed.js +0 -75
  134. package/es/svg/EmptyFollowers.js +0 -73
  135. package/es/svg/EmptyFrame.js +0 -71
  136. package/es/svg/EmptyFromAddress.js +0 -39
  137. package/es/svg/EmptyHappiness.js +0 -72
  138. package/es/svg/EmptyHistory.js +0 -72
  139. package/es/svg/EmptyImportHistory.js +0 -39
  140. package/es/svg/EmptyInconvenience.js +0 -42
  141. package/es/svg/EmptyInvoice.js +0 -77
  142. package/es/svg/EmptyNetwork.js +0 -39
  143. package/es/svg/EmptyNotification.js +0 -72
  144. package/es/svg/EmptyProducts.js +0 -75
  145. package/es/svg/EmptyRecycleBin.js +0 -39
  146. package/es/svg/EmptyReply.js +0 -67
  147. package/es/svg/EmptyReports.js +0 -78
  148. package/es/svg/EmptyRoles.js +0 -39
  149. package/es/svg/EmptySchedule.js +0 -114
  150. package/es/svg/EmptySearch.js +0 -82
  151. package/es/svg/EmptySkills.js +0 -120
  152. package/es/svg/EmptySla.js +0 -67
  153. package/es/svg/EmptySnippet.js +0 -82
  154. package/es/svg/EmptyStateVariables.module.css +0 -39
  155. package/es/svg/EmptyTag.js +0 -75
  156. package/es/svg/EmptyTask.js +0 -88
  157. package/es/svg/EmptyTeams.js +0 -72
  158. package/es/svg/EmptyTemplate.js +0 -84
  159. package/es/svg/EmptyTicket.js +0 -75
  160. package/es/svg/EmptyTimeEntry.js +0 -78
  161. package/es/svg/EmptyTimeline.js +0 -72
  162. package/es/svg/EmptyTopic.js +0 -78
  163. package/es/svg/EmptyUnauthorizedLogin.js +0 -47
  164. package/es/svg/EmptyWebhook.js +0 -39
  165. package/es/svg/EmptyWillBeRightBack.js +0 -42
  166. package/es/svg/ErrorInconvenience.js +0 -113
  167. package/es/svg/ErrorOopsSomethingMiss.js +0 -114
  168. package/es/svg/ErrorUnableToProcessRequest.js +0 -114
  169. package/es/svg/ErrorUnauthorizedLogin.js +0 -113
  170. package/es/svg/ErrorUrlNotFound.js +0 -114
  171. package/es/svg/ErrorWillBeRightBack.js +0 -113
  172. package/es/svg/Extractor.js +0 -66
  173. package/es/svg/FailureLog.js +0 -39
  174. package/es/svg/Import.js +0 -82
  175. package/es/svg/Loader.js +0 -64
  176. package/es/svg/NoRequestFound.js +0 -42
  177. package/es/svg/NotImpossible.js +0 -79
  178. package/es/svg/PageNotFound.js +0 -43
  179. package/es/svg/Predictor.js +0 -73
  180. package/es/svg/SVG.js +0 -78
  181. package/es/svg/SVG.module.css +0 -26
  182. package/es/svg/SvgLoader.js +0 -28
  183. package/es/svg/UnableToProcessRequest.js +0 -43
  184. package/es/svg/UnauthorizedLogin.js +0 -43
  185. package/es/svg/UrlNotFound.js +0 -43
  186. package/es/svg/WillBeRightBack.js +0 -43
  187. package/es/svg/ZiaAnamoly.js +0 -67
  188. package/es/svg/deprecated/21_07_2021/EmptyPageNotFound.js +0 -40
  189. package/es/svg/deprecated/21_07_2021/EmptyUnableToProcess.js +0 -42
  190. package/es/svg/deprecated/21_07_2021/EmptyUrlNotFound.js +0 -45
  191. package/es/svg/deprecated/21_07_2021/InvalidUrl.js +0 -717
  192. package/es/svg/deprecated/Themes/DarkEmptyStates.module.css +0 -37
  193. package/es/svg/deprecated/Themes/DefaultEmptyStates.module.css +0 -37
  194. package/es/svg/deprecated/Themes/palette/darkCTAPalette.module.css +0 -51
  195. package/es/svg/deprecated/Themes/palette/defaultCTAPalette.module.css +0 -51
  196. package/es/svg/docs/SVG__common.docs.js +0 -49
  197. package/es/svg/docs/SVG__default.docs.js +0 -327
  198. package/es/svg/docs/SVG__errorstate.docs.js +0 -74
  199. package/es/svg/docs/SVGdocstyle.module.css +0 -8
  200. package/es/svg/images/EmptyBusinessHoliday.svg +0 -50
  201. package/es/svg/images/EmptyBusinessHour.svg +0 -42
  202. package/es/svg/images/EmptyContactInfo.svg +0 -27
  203. package/es/svg/images/EmptyCustomDomain.svg +0 -85
  204. package/es/svg/images/EmptyFilter.svg +0 -62
  205. package/es/svg/images/EmptyFromAddress.svg +0 -41
  206. package/es/svg/images/EmptyImportHistory.svg +0 -43
  207. package/es/svg/images/EmptyNetwork.svg +0 -50
  208. package/es/svg/images/EmptyRecycleBin.svg +0 -58
  209. package/es/svg/images/EmptyRoles.svg +0 -30
  210. package/es/svg/images/EmptySkills.svg +0 -83
  211. package/es/svg/images/EmptyWebhook.svg +0 -44
  212. package/es/svg/images/FailureLog.svg +0 -46
  213. package/es/svg/images/Inconvenience.svg +0 -719
  214. package/es/svg/images/NoRequestFound.svg +0 -247
  215. package/es/svg/images/PageNotFound.svg +0 -405
  216. package/es/svg/images/ReguestUrlNotFound.svg +0 -267
  217. package/es/svg/images/UnableToProcess.svg +0 -752
  218. package/es/svg/images/UnauthorizedLogin.svg +0 -1047
  219. package/es/svg/images/WillBack.svg +0 -633
  220. package/es/svg/utils.js +0 -14
  221. package/lib/svg/Appearance/dark/mode/darkEmptyStates.module.css +0 -37
  222. package/lib/svg/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -10
  223. package/lib/svg/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -10
  224. package/lib/svg/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -10
  225. package/lib/svg/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -10
  226. package/lib/svg/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -10
  227. package/lib/svg/Appearance/default/mode/defaultEmptyStates.module.css +0 -37
  228. package/lib/svg/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -10
  229. package/lib/svg/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -10
  230. package/lib/svg/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -10
  231. package/lib/svg/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -10
  232. package/lib/svg/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -10
  233. package/lib/svg/deprecated/21_07_2021/EmptyPageNotFound.js +0 -90
  234. package/lib/svg/deprecated/21_07_2021/EmptyUnableToProcess.js +0 -92
  235. package/lib/svg/deprecated/21_07_2021/EmptyUrlNotFound.js +0 -95
  236. package/lib/svg/deprecated/21_07_2021/InvalidUrl.js +0 -765
  237. package/lib/svg/deprecated/Themes/DarkEmptyStates.module.css +0 -37
  238. package/lib/svg/deprecated/Themes/DefaultEmptyStates.module.css +0 -37
  239. package/lib/svg/deprecated/Themes/palette/darkCTAPalette.module.css +0 -51
  240. package/lib/svg/deprecated/Themes/palette/defaultCTAPalette.module.css +0 -51
  241. package/src/svg/Appearance/dark/mode/darkEmptyStates.module.css +0 -37
  242. package/src/svg/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -10
  243. package/src/svg/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -10
  244. package/src/svg/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -10
  245. package/src/svg/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -10
  246. package/src/svg/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -10
  247. package/src/svg/Appearance/default/mode/defaultEmptyStates.module.css +0 -37
  248. package/src/svg/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -10
  249. package/src/svg/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -10
  250. package/src/svg/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -10
  251. package/src/svg/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -10
  252. package/src/svg/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -10
  253. package/src/svg/deprecated/21_07_2021/EmptyPageNotFound.js +0 -39
  254. package/src/svg/deprecated/21_07_2021/EmptyUnableToProcess.js +0 -41
  255. package/src/svg/deprecated/21_07_2021/EmptyUrlNotFound.js +0 -48
  256. package/src/svg/deprecated/21_07_2021/InvalidUrl.js +0 -756
  257. package/src/svg/deprecated/Themes/DarkEmptyStates.module.css +0 -37
  258. package/src/svg/deprecated/Themes/DefaultEmptyStates.module.css +0 -37
  259. package/src/svg/deprecated/Themes/palette/darkCTAPalette.module.css +0 -51
  260. package/src/svg/deprecated/Themes/palette/defaultCTAPalette.module.css +0 -51
package/lib/svg/Loader.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -37,15 +37,29 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
37
37
 
38
38
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
39
39
 
40
- var Loader = /*#__PURE__*/function (_React$Component) {
41
- _inherits(Loader, _React$Component);
40
+ var Loader = /*#__PURE__*/function (_React$PureComponent) {
41
+ _inherits(Loader, _React$PureComponent);
42
42
 
43
43
  var _super = _createSuper(Loader);
44
44
 
45
- function Loader() {
45
+ function Loader(props) {
46
+ var _this;
47
+
46
48
  _classCallCheck(this, Loader);
47
49
 
48
- return _super.apply(this, arguments);
50
+ _this = _super.call(this, props);
51
+ _this.viewBoxStyle = {
52
+ animation: "loaderone 2s linear infinite"
53
+ };
54
+ _this.defsStyle = {
55
+ animation: "circleAnimation_1 1.5s linear infinite",
56
+ transformOrigin: "center"
57
+ };
58
+ _this.circleStyle = {
59
+ animation: "circleAnimation_2 1.2s linear infinite",
60
+ transformOrigin: "center"
61
+ };
62
+ return _this;
49
63
  }
50
64
 
51
65
  _createClass(Loader, [{
@@ -59,9 +73,7 @@ var Loader = /*#__PURE__*/function (_React$Component) {
59
73
  name: "Loader",
60
74
  className: "".concat(_SVGModule["default"].loaderWrapper),
61
75
  dataId: dataId,
62
- styleName: {
63
- animation: "loaderone 2s linear infinite"
64
- }
76
+ styleName: this.viewBoxStyle
65
77
  }, /*#__PURE__*/_react["default"].createElement("defs", null, /*#__PURE__*/_react["default"].createElement("style", null, "@keyframes circleAnimation_1{to{stroke-dashoffset:-82}}@keyframes circleAnimation_2{to{stroke-dashoffset:-50}}@keyframes loaderone{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}")), /*#__PURE__*/_react["default"].createElement("title", null, "loader"), /*#__PURE__*/_react["default"].createElement("circle", {
66
78
  fill: "none",
67
79
  stroke: "#089949",
@@ -71,10 +83,7 @@ var Loader = /*#__PURE__*/function (_React$Component) {
71
83
  cx: 20,
72
84
  cy: 20,
73
85
  r: 13,
74
- style: {
75
- animation: "circleAnimation_1 1.5s linear infinite",
76
- transformOrigin: "center"
77
- },
86
+ style: this.defsStyle,
78
87
  strokeDasharray: 82,
79
88
  strokeDashoffset: 82
80
89
  }), /*#__PURE__*/_react["default"].createElement("circle", {
@@ -85,10 +94,7 @@ var Loader = /*#__PURE__*/function (_React$Component) {
85
94
  cx: 20,
86
95
  cy: 20,
87
96
  r: 8,
88
- style: {
89
- animation: "circleAnimation_2 1.2s linear infinite",
90
- transformOrigin: "center"
91
- },
97
+ style: this.circleStyle,
92
98
  strokeDasharray: 50,
93
99
  strokeDashoffset: 50
94
100
  })));
@@ -96,7 +102,7 @@ var Loader = /*#__PURE__*/function (_React$Component) {
96
102
  }]);
97
103
 
98
104
  return Loader;
99
- }(_react["default"].Component);
105
+ }(_react["default"].PureComponent);
100
106
 
101
107
  exports["default"] = Loader;
102
108
  Loader.propTypes = {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = SvgLoader;
9
8
  exports.StaticSvg = StaticSvg;
9
+ exports["default"] = SvgLoader;
10
10
 
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -23,9 +23,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
23
23
 
24
24
  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); } }
25
25
 
26
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
21
21
 
22
22
  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); } }
23
23
 
24
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), 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
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -17,9 +17,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
17
17
 
18
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
19
 
20
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
21
 
22
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
23
 
24
24
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
25
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -135,9 +135,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
135
135
 
136
136
  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); } }
137
137
 
138
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
138
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
139
139
 
140
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
140
+ 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); }
141
141
 
142
142
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
143
143
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
@@ -29,9 +29,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
29
29
 
30
30
  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); } }
31
31
 
32
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
32
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
33
33
 
34
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
34
+ 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); }
35
35
 
36
36
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
37
37
 
package/lib/svg/utils.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.emptyStateDefaultProps = exports.emptyStatePropTypes = void 0;
6
+ exports.emptyStatePropTypes = exports.emptyStateDefaultProps = void 0;
7
7
 
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/svg",
3
- "version": "1.0.0-beta.35",
3
+ "version": "1.0.0-beta.39",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -22,19 +22,25 @@
22
22
  "build:es": "react-cli build:library:es",
23
23
  "build:dev": "npm run clean && npm run build:es --module:mode=dev -- -w",
24
24
  "prepare": "npm run init && npm run build && npm run build:es",
25
- "init": "npm run clean",
25
+ "init": "npm run clean && npm run build:variables",
26
+ "build:variables": "node ./preprocess/index",
26
27
  "lint": "react-cli lint",
27
28
  "docs": "react-cli docs",
28
29
  "postpublish": "react-cli postpublish",
29
30
  "download": "rm package-lock.json && rm -rf node_modules/ && npm install"
30
31
  },
32
+ "react-cli": {
33
+ "preprocessor": {
34
+ "runner": "preprocess/index.js"
35
+ }
36
+ },
31
37
  "devDependencies": {
32
- "@zohodesk/variables": "1.0.0-beta.23",
38
+ "@zohodesk/variables": "1.0.0-beta.29",
33
39
  "@zohodesk/components": "1.0.0-alpha-190",
34
40
  "@svgr/cli": "5.5.0"
35
41
  },
36
42
  "peerDependencies": {
37
- "@zohodesk/variables": "^1.0.0-beta.23",
43
+ "@zohodesk/variables": "^1.0.0-beta.29",
38
44
  "@zohodesk/components": "1.0.0-alpha-190"
39
45
  },
40
46
  "tags": [
@@ -0,0 +1,2 @@
1
+ require('./svgThemeColors');
2
+ require('./svgAppearanceColors');