@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
@@ -1,39 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- import image from './images/FailureLog.svg';
7
- export default class FailureLog extends React.Component {
8
- render() {
9
- return /*#__PURE__*/React.createElement(SVG, _extends({
10
- viewBox: "0 0 189.4 139.3",
11
- name: "failurelog"
12
- }, this.props), /*#__PURE__*/React.createElement("image", {
13
- xlinkHref: image,
14
- height: "100%",
15
- width: "100%"
16
- }));
17
- }
18
-
19
- }
20
- FailureLog.propTypes = {
21
- alignHorizontal: PropTypes.bool,
22
- className: PropTypes.string,
23
- dataId: PropTypes.string,
24
- isRender: PropTypes.bool,
25
- size: PropTypes.oneOf(['small', 'large'])
26
- };
27
- FailureLog.defaultProps = {
28
- size: 'large',
29
- alignHorizontal: true,
30
- isRender: true,
31
- className: '',
32
- dataId: 'failureLog'
33
- };
34
-
35
- if (false) {
36
- FailureLog.docs = {
37
- componentGroup: 'SVG'
38
- };
39
- }
package/es/svg/Import.js DELETED
@@ -1,82 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- export default class Import extends React.Component {
7
- render() {
8
- return /*#__PURE__*/React.createElement(SVG, _extends({
9
- viewBox: "0 0 500 500",
10
- name: "import"
11
- }, this.props), /*#__PURE__*/React.createElement("g", {
12
- clipPath: "url(#Import_svg__clip0)"
13
- }, /*#__PURE__*/React.createElement("g", {
14
- clipPath: "url(#Import_svg__clip1)"
15
- }, /*#__PURE__*/React.createElement("path", {
16
- opacity: 0.1,
17
- d: "M200.502 140.5s116.75-78 175.75-54.5 99.25 220.75-64.75 309.25-238.5-104-239.25-138c-.5-33.25 0-111.75 128.25-116.75z",
18
- fill: "var(--zd_emptysvg_primary_fill)"
19
- }), /*#__PURE__*/React.createElement("path", {
20
- d: "M35 293.249s-.25 0 0 0c-.75 0-1.25-.75-1.25-1.25l1-18.75c0-.75.5-1.25 1.25-1.25s1.25.5 1.25 1.25l-1 18.75c-.25.75-.75 1.25-1.25 1.25z",
21
- fill: "var(--zd_emptysvg_plus)"
22
- }), /*#__PURE__*/React.createElement("path", {
23
- d: "M44.501 284.498l-18.5-1c-.75 0-1.25-.75-1.25-1.25 0-.75.75-1.25 1.25-1.25l18.25 1c.75 0 1.25.75 1.25 1.25.25.75-.25 1.25-1 1.25z",
24
- fill: "var(--zd_emptysvg_plus)"
25
- }), /*#__PURE__*/React.createElement("path", {
26
- d: "M428 51.999c-6.5 0-11.75 5.25-11.75 11.75s5.25 11.75 11.75 11.75 11.75-5.25 11.75-11.75-5.5-11.75-11.75-11.75zm0 21.25c-5 0-9.25-4.25-9.25-9.5s4.25-9.5 9.25-9.5 9.25 4.25 9.25 9.5-4.25 9.5-9.25 9.5zM311 432.748c-4.75 0-8.5 3.75-8.5 8.5s3.75 8.5 8.5 8.5 8.5-3.75 8.5-8.5c0-4.5-3.75-8.5-8.5-8.5zm0 14.75c-3.25 0-6-2.75-6-6.25s2.75-6.25 6-6.25 6 2.75 6 6.25-2.75 6.25-6 6.25z",
27
- fill: "var(--zd_emptysvg_medium_circle)"
28
- }), /*#__PURE__*/React.createElement("path", {
29
- d: "M202.251 50c-4.25 0-7.5 3.5-7.5 7.5s3.25 7.5 7.5 7.5 7.5-3.5 7.5-7.5-3.25-7.5-7.5-7.5zm0 12.75c-2.75 0-5-2.25-5-5s2.25-5 5-5 5 2.25 5 5-2.25 5-5 5zM474.5 324.5c-.5-.5-1.25-.5-1.75 0l-6 5.5-5.25-6c-.5-.5-1.25-.5-1.75 0s-.5 1.25 0 1.75l5.25 6-6 5.5c-.5.5-.5 1.25 0 1.75.25.25.5.5 1 .5.25 0 .5 0 .75-.25l6-5.5 5.25 6c.25.25.5.5 1 .5.25 0 .5 0 .75-.25.5-.5.5-1.25 0-1.75l-5.25-6 6-5.5c.5-.75.5-1.75 0-2.25z",
30
- fill: "var(--zd_emptysvg_tiny_circle)"
31
- }), /*#__PURE__*/React.createElement("path", {
32
- opacity: 0.1,
33
- d: "M289.502 162.499s-93.25-62.25-140.5-43.5-79.5 176.5 51.75 247.25 190.75-83.25 191.25-110.5c.5-26.5 0-89.5-102.5-93.25z",
34
- fill: "var(--zd_emptysvg_primary_fill)"
35
- }), /*#__PURE__*/React.createElement("path", {
36
- d: "M103.272 292.867c-15.153-8.693-21.106-33.684-13.259-53.242 5.683-14.126 15.695-27.98 31.93-27.165 33.554 1.63 25.165 49.711 16.777 48.896-8.388-.815 18.941-107.842 65.483-105.669 46.272 2.173 74.413 55.143 67.107 72.8-7.306 17.657-1.623-57.316 71.437-28.251 73.059 29.066-19.483 132.562-145.309 117.894-49.788-5.977-77.93-16.027-94.166-25.263z",
37
- fill: "var(--zd_emptysvg_secondary_fill)"
38
- }), /*#__PURE__*/React.createElement("path", {
39
- d: "M442.326 285.26H107.333s-61.425 2.445-59.801-55.958c.811-24.992 18.67-46.723 43.294-49.711 14.883-1.63 32.742 2.988 50.872 24.176 0 0-27.871 41.29 1.082-23.633s129.073-101.323 187.521-34.77c63.859 73.072 7.035 104.854 6.494 99.421-.541-5.433 10.282-26.077 42.212-3.531 31.93 22.546-8.929 93.445-78.742 85.567l-47.354-1.901-1.082 44.549s44.377 1.902 40.318-1.901c-4.059-4.075-65.483 46.179-58.718 47.266 7.035 1.086-52.225-53.242-54.931-48.896-7.306 11.137 24.354 6.248 39.236 4.346l-1.353-47.809s-114.19 22.818-147.202-27.707",
40
- stroke: "var(--zd_emptysvg_primary_stroke)",
41
- fill: "transparent",
42
- strokeWidth: 2.5,
43
- strokeMiterlimit: 10,
44
- strokeLinecap: "round",
45
- strokeLinejoin: "round"
46
- }))), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
47
- id: "Import_svg__clip0"
48
- }, /*#__PURE__*/React.createElement("path", {
49
- fill: "#fff",
50
- d: "M0 0h500v500H0z"
51
- })), /*#__PURE__*/React.createElement("clipPath", {
52
- id: "Import_svg__clip1"
53
- }, /*#__PURE__*/React.createElement("path", {
54
- fill: "#fff",
55
- transform: "translate(25 50)",
56
- d: "M0 0h450v400H0z"
57
- }))));
58
- }
59
-
60
- }
61
- Import.propTypes = {
62
- alignHorizontal: PropTypes.bool,
63
- className: PropTypes.string,
64
- dataId: PropTypes.string,
65
- isRender: PropTypes.bool,
66
- size: PropTypes.oneOf(['small', 'large']),
67
- palette: PropTypes.oneOf(['default', 'dark'])
68
- };
69
- Import.defaultProps = {
70
- size: 'large',
71
- alignHorizontal: true,
72
- isRender: true,
73
- className: '',
74
- dataId: 'import',
75
- palette: 'default'
76
- };
77
-
78
- if (false) {
79
- Import.docs = {
80
- componentGroup: 'SVG'
81
- };
82
- }
package/es/svg/Loader.js DELETED
@@ -1,64 +0,0 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import SVG from './SVG';
4
- import cssStyle from './SVG.module.css';
5
- export default class Loader extends React.Component {
6
- render() {
7
- let {
8
- dataId
9
- } = this.props;
10
- return /*#__PURE__*/React.createElement("div", {
11
- className: cssStyle.center
12
- }, /*#__PURE__*/React.createElement(SVG, {
13
- viewBox: "0 0 40 40",
14
- name: "Loader",
15
- className: `${cssStyle.loaderWrapper}`,
16
- dataId: dataId,
17
- styleName: {
18
- animation: "loaderone 2s linear infinite"
19
- }
20
- }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.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.createElement("title", null, "loader"), /*#__PURE__*/React.createElement("circle", {
21
- fill: "none",
22
- stroke: "#089949",
23
- strokeWidth: 2,
24
- strokeLinecap: "round",
25
- strokeLinejoin: "round",
26
- cx: 20,
27
- cy: 20,
28
- r: 13,
29
- style: {
30
- animation: "circleAnimation_1 1.5s linear infinite",
31
- transformOrigin: "center"
32
- },
33
- strokeDasharray: 82,
34
- strokeDashoffset: 82
35
- }), /*#__PURE__*/React.createElement("circle", {
36
- fill: "none",
37
- stroke: "#17c662",
38
- strokeLinecap: "round",
39
- strokeLinejoin: "round",
40
- cx: 20,
41
- cy: 20,
42
- r: 8,
43
- style: {
44
- animation: "circleAnimation_2 1.2s linear infinite",
45
- transformOrigin: "center"
46
- },
47
- strokeDasharray: 50,
48
- strokeDashoffset: 50
49
- })));
50
- }
51
-
52
- }
53
- Loader.propTypes = {
54
- dataId: PropTypes.string
55
- };
56
- Loader.defaultProps = {
57
- dataId: 'loader'
58
- };
59
-
60
- if (false) {
61
- Loader.docs = {
62
- componentGroup: 'SVG'
63
- };
64
- }
@@ -1,42 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- import image from './images/NoRequestFound.svg';
7
- export default class NoRequestFound extends React.Component {
8
- render() {
9
- let {
10
- isFluid
11
- } = this.props;
12
- return /*#__PURE__*/React.createElement(SVG, _extends({
13
- viewBox: "0 0 476.5 297.6",
14
- name: "NoRequestFound",
15
- isFluid: isFluid
16
- }, this.props), /*#__PURE__*/React.createElement("image", {
17
- xlinkHref: image,
18
- height: "100%",
19
- width: "100%"
20
- }));
21
- }
22
-
23
- }
24
- NoRequestFound.propTypes = {
25
- alignHorizontal: PropTypes.bool,
26
- className: PropTypes.string,
27
- dataId: PropTypes.string,
28
- isFluid: PropTypes.bool,
29
- isRender: PropTypes.bool
30
- };
31
- NoRequestFound.defaultProps = {
32
- alignHorizontal: true,
33
- isRender: true,
34
- className: '',
35
- dataId: 'noRequestFound'
36
- };
37
-
38
- if (false) {
39
- NoRequestFound.docs = {
40
- componentGroup: 'SVG'
41
- };
42
- }
@@ -1,79 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- export default class NotImpossible extends React.Component {
7
- render() {
8
- return /*#__PURE__*/React.createElement(SVG, _extends({
9
- viewBox: "0 0 316.9 200",
10
- name: "NotImpossible"
11
- }, this.props), /*#__PURE__*/React.createElement("style", null, ".NotImpossible_svg__st2{fill:none;stroke:var(--zd_emptysvg_tiny_circle);stroke-miterlimit:10}.NotImpossible_svg__st4{fill:none;stroke:var(--zd_emptysvg_cross);stroke-miterlimit:10}.NotImpossible_svg__st3{fill:none;stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}"), /*#__PURE__*/React.createElement("path", {
12
- d: "M174 53.9s46.9-30.9 70.7-21.6 40 87.4-26.1 122.4-95.9-41.2-96.1-54.7c-.3-13-.1-44.2 51.5-46.1z",
13
- opacity: 0.05,
14
- fill: "var(--zd_emptysvg_primary_fill)"
15
- }), /*#__PURE__*/React.createElement("circle", {
16
- cx: 243.5,
17
- cy: 23.1,
18
- fill: "none",
19
- stroke: "var(--zd_emptysvg_medium_circle)",
20
- strokeMiterlimit: 10,
21
- r: 3.5
22
- }), /*#__PURE__*/React.createElement("circle", {
23
- className: "NotImpossible_svg__st2",
24
- cx: 167.1,
25
- cy: 21,
26
- r: 2.1
27
- }), /*#__PURE__*/React.createElement("path", {
28
- className: "NotImpossible_svg__st3",
29
- d: "M110.7 72.3l-.3 6.1M107.4 75.2l6.3.3"
30
- }), /*#__PURE__*/React.createElement("circle", {
31
- cx: 253.3,
32
- cy: 145.5,
33
- fill: "none",
34
- stroke: "var(--zd_emptysvg_small_circle)",
35
- strokeLinecap: "round",
36
- strokeLinejoin: "round",
37
- r: 2.4
38
- }), /*#__PURE__*/React.createElement("path", {
39
- className: "NotImpossible_svg__st4",
40
- d: "M134 157.2l4.1 4.6M133.7 161.5l4.7-4.1"
41
- }), /*#__PURE__*/React.createElement("circle", {
42
- cx: 209.7,
43
- cy: 179.2,
44
- fill: "#e46370",
45
- r: 2.1
46
- }), /*#__PURE__*/React.createElement("path", {
47
- d: "M16 140.6s46.9 7 49.7-6.6 30.8-22.5 110.9 10.1c0 0 48-24.1 48-25s-27.6-4.6-42.2 18.4c0 0-62-19.2-73.2-19.2 0 0 39.3-33.4 48.2-32s-31 2.1-55.6 21.6c0 0 52.1 14.2 73.7 24.1 0 0 26.2-23 49.1-17.7 0 0 2.5-.1 1.2-2.7s-27.3-21.3-65.4-25.5c0 0 .2-21.4 14.9-39 0 0-6.7 12.2 3.8 12.3l4.1-.5s-3.2 6.3 2.2 8.4l-.5 2.4s4.4-2.4 5.1.5l5.6-.7s-1.7 2.6-.9 3.8 6.5 3.2 6.5 3.2.3 6.2 1.9 6.5 3.4-1.9 5.1-.7 5.8-2.4 6.7-.5-.4 5.3 2.6 6 2.6 3.3 2.4 6.5 1.7 6.5 4.4 6.5 4.6 4.4 4.6 4.4 11.5-19 44.6-22.4c-20.7-13.7-43.1-24.5-66.7-32.3 0 0-18.6 1.6-42.9 32 0 0 59.6 12.6 66.4 30.6 0 0 0 4.7-2.8 5.8 0 0 9.2-1.8 8.8-6.5s-7.5-4.8.8-11.8 37-8.3 38.8-10.5 0-3.6 0-3.6l6.3 5.9-44.4 15.8s-.6 4.1 3.6 2.9 5.3-13.6 7.5-26.3 7.8-35.8 32.2-40.5c4.2-.7 10.8-.4 17.7 0",
48
- fill: "none",
49
- stroke: "var(--zd_emptysvg_primary_stroke)",
50
- strokeWidth: 0.5,
51
- strokeLinecap: "round",
52
- strokeLinejoin: "round"
53
- }), /*#__PURE__*/React.createElement("path", {
54
- d: "M160.3 86.3s1.3-22.4 14.9-39c0 0-8.9 13.1 4.2 16.2 0 0 2.5 4.7 3.7 4.6l1 3.6s3.1-1.9 4.1-.9 2.9.8 4.9.3c0 0-3.2 3.4 6.7 6.9 0 0 .6 7.6 3.8 7.2s3.3-1.9 5.5-.9 3.5-1.3 4.3-.6.3 5.1 3 5.5 2.4 4.1 2.5 9 5.7 3.3 7 4.9 1.3 5.2 1.3 5.2l-1.3 3.4c.2-1.5-31-23.5-65.6-25.4z",
55
- fill: "var(--zd_emptysvg_secondary_fill)"
56
- }));
57
- }
58
-
59
- }
60
- NotImpossible.propTypes = {
61
- alignHorizontal: PropTypes.bool,
62
- className: PropTypes.string,
63
- dataId: PropTypes.string,
64
- isRender: PropTypes.bool,
65
- palette: PropTypes.oneOf(['default', 'dark'])
66
- };
67
- NotImpossible.defaultProps = {
68
- alignHorizontal: true,
69
- isRender: true,
70
- className: '',
71
- dataId: 'emptyAccounts',
72
- palette: 'default'
73
- };
74
-
75
- if (false) {
76
- NotImpossible.docs = {
77
- componentGroup: 'SVG'
78
- };
79
- }
@@ -1,43 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- import image from './images/PageNotFound.svg';
7
- export default class PageNotFound extends React.Component {
8
- render() {
9
- let {
10
- isFluid
11
- } = this.props;
12
- return /*#__PURE__*/React.createElement(SVG, _extends({
13
- viewBox: "0 0 508.8 324.8",
14
- name: "PageNotFound"
15
- }, this.props, {
16
- isFluid: isFluid
17
- }), /*#__PURE__*/React.createElement("image", {
18
- xlinkHref: image,
19
- height: "100%",
20
- width: "100%"
21
- }));
22
- }
23
-
24
- }
25
- PageNotFound.propTypes = {
26
- alignHorizontal: PropTypes.bool,
27
- className: PropTypes.string,
28
- dataId: PropTypes.string,
29
- isFluid: PropTypes.bool,
30
- isRender: PropTypes.bool
31
- };
32
- PageNotFound.defaultProps = {
33
- alignHorizontal: true,
34
- isRender: true,
35
- className: '',
36
- dataId: 'pageNotFound'
37
- };
38
-
39
- if (false) {
40
- PageNotFound.docs = {
41
- componentGroup: 'SVG'
42
- };
43
- }
@@ -1,73 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- export default class Predictor extends React.Component {
7
- render() {
8
- return /*#__PURE__*/React.createElement(SVG, _extends({
9
- viewBox: "0 0 200 200",
10
- name: "predictor"
11
- }, this.props), /*#__PURE__*/React.createElement("style", null, ".Predictor_svg__st0{fill:none}.Predictor_svg__st1{opacity:.1;fill:var(--zd_emptysvg_primary_fill);enable-background:new}.Predictor_svg__st2{fill:var(--zd_emptysvg_plus)}.Predictor_svg__st3{fill:var(--zd_emptysvg_medium_circle)}.Predictor_svg__st4{fill:var(--zd_emptysvg_cross)}"), /*#__PURE__*/React.createElement("path", {
12
- className: "Predictor_svg__st0",
13
- d: "M0 0h200v200H0z"
14
- }), /*#__PURE__*/React.createElement("path", {
15
- className: "Predictor_svg__st0",
16
- d: "M10 22h180v160H10z"
17
- }), /*#__PURE__*/React.createElement("path", {
18
- className: "Predictor_svg__st1",
19
- d: "M80.2 58.2s46.7-31.2 70.3-21.8 39.7 88.3-25.9 123.7c-65.6 35.4-95.4-41.6-95.7-55.2-.2-13.3 0-44.7 51.3-46.7z"
20
- }), /*#__PURE__*/React.createElement("path", {
21
- className: "Predictor_svg__st2",
22
- d: "M14 119.3s-.1 0 0 0c-.3 0-.5-.3-.5-.5l.4-7.5c0-.3.2-.5.5-.5s.5.2.5.5l-.4 7.5c-.1.3-.3.5-.5.5z"
23
- }), /*#__PURE__*/React.createElement("path", {
24
- className: "Predictor_svg__st2",
25
- d: "M17.8 115.8l-7.4-.4c-.3 0-.5-.3-.5-.5 0-.3.3-.5.5-.5l7.3.4c.3 0 .5.3.5.5.1.3-.1.5-.4.5z"
26
- }), /*#__PURE__*/React.createElement("path", {
27
- className: "Predictor_svg__st3",
28
- d: "M171.2 22.8c-2.6 0-4.7 2.1-4.7 4.7s2.1 4.7 4.7 4.7 4.7-2.1 4.7-4.7-2.2-4.7-4.7-4.7zm0 8.5c-2 0-3.7-1.7-3.7-3.8s1.7-3.8 3.7-3.8 3.7 1.7 3.7 3.8-1.7 3.8-3.7 3.8zM124.4 175.1c-1.9 0-3.4 1.5-3.4 3.4s1.5 3.4 3.4 3.4 3.4-1.5 3.4-3.4c0-1.8-1.5-3.4-3.4-3.4zm0 5.9c-1.3 0-2.4-1.1-2.4-2.5s1.1-2.5 2.4-2.5c1.3 0 2.4 1.1 2.4 2.5s-1.1 2.5-2.4 2.5z"
29
- }), /*#__PURE__*/React.createElement("path", {
30
- className: "Predictor_svg__st4",
31
- d: "M80.9 22c-1.7 0-3 1.4-3 3s1.3 3 3 3 3-1.4 3-3-1.3-3-3-3zm0 5.1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM189.8 131.8c-.2-.2-.5-.2-.7 0l-2.4 2.2-2.1-2.4c-.2-.2-.5-.2-.7 0-.2.2-.2.5 0 .7l2.1 2.4-2.4 2.2c-.2.2-.2.5 0 .7.1.1.2.2.4.2.1 0 .2 0 .3-.1l2.4-2.2 2.1 2.4c.1.1.2.2.4.2.1 0 .2 0 .3-.1.2-.2.2-.5 0-.7l-2.1-2.4 2.4-2.2c.2-.3.2-.7 0-.9z"
32
- }), /*#__PURE__*/React.createElement("path", {
33
- className: "Predictor_svg__st1",
34
- d: "M115.8 67S78.5 42.1 59.6 49.6s-31.8 70.6 20.7 98.9c52.5 28.3 76.3-33.3 76.5-44.2.2-10.6 0-35.8-41-37.3z"
35
- }), /*#__PURE__*/React.createElement("path", {
36
- className: "Predictor_svg__st0",
37
- d: "M3 36h193.5v127.5H3z"
38
- }), /*#__PURE__*/React.createElement("path", {
39
- d: "M65.5 111.2c.1-13.7-12.5-6.1-16.6-10.7-6.2-6.9-10.7-17.4 2.7-28.3 23.1-18.7 64.2-21.7 72.7 19S75 152 61.8 133.7c-5-6.9 3.7-18.6 3.7-22.5z",
40
- fill: "var(--zd_emptysvg_secondary_fill)"
41
- }), /*#__PURE__*/React.createElement("path", {
42
- d: "M196 117.3s-24.5-5.4-29.3-2.1c-4.8 3.3-18.4 0-24.5 1.5-6 1.5-17.5 3.3-17.5 3.3M3.5 38.8s28.6 0 38.7 4S70.6 31 74.6 38.5 63.3 54.1 53.5 51.2c-9.8-2.9 33 3.8 38.2 11 5.2 7.2-5.8 6.6-9.8 5.2s-21.7-5.5-26.6-2S70.5 77.4 75 88c4.6 10.6-5 5.1-5.8 4.7-.8-.4-23.4-19.9-22.9-18.4s17.1 24 17.3 25.9c.2 1.9-1.9 7.9-7.2 3.9-5.2-3.9-21.3-23.1-20.8-24.3.5-1.2 4.8 3.8 4.8 16.1s-2.5 17.7-5.6 15.3c-3.1-2.4-5-28.4-9.8-32.2S9 63.7 3.5 63.5m38 41.6s5.2 31.4 31 35.3c24.7 3.8 35.6-6 35.6-6l.2 6.4s-21.9 11.9-51.9-.5l.5 7.2s26.5 13.8 62.8-1.2l.1 8.4s-24 17.8-70 .9c0 0-.6-9.9.2-10.1s3.2-2.8 5.3-2.7c0 0-.1-5.2 5.5-5.9 0 0 18.7 13 45.9.9 6.8-3 11.4-9.5 14.5-17.6 0 0-4.3-3.2-1.2-6.6 3.1-3.3 25.3-5 25.2-9.3-.1-4.3-36.2 3.1-37.8.3-1.7-2.8-2.1-8.3 3.1-9.2 0 0 33.3-8.2 33.5-6 .3 2.3-22.8-4.8-32.5-1.8-9.6 3-16-4.5-10.8-8.1 0 0 8.5-.9 11.3-2.3 2.7-1.4 26.8.6 27.3.7.6.1-23-2.6-23-2.6s-11.4 3.3-13.6 2c-2.2-1.3-3-5.8.6-6.8s8.5-1 8.5-1-10.7-9.4-20.4-10.1c0 0 11.4.3 25.2 9.7l11.7-.7s14.6 1.4 17.1 4.2c2.5 2.7 19.5 13.9 25.3 13.9s8.8.6 8.8.6",
43
- fill: "none",
44
- stroke: "var(--zd_emptysvg_primary_stroke)",
45
- strokeLinecap: "round",
46
- strokeLinejoin: "round",
47
- strokeMiterlimit: 10
48
- }));
49
- }
50
-
51
- }
52
- Predictor.propTypes = {
53
- alignHorizontal: PropTypes.bool,
54
- className: PropTypes.string,
55
- dataId: PropTypes.string,
56
- isRender: PropTypes.bool,
57
- size: PropTypes.oneOf(['small', 'large']),
58
- palette: PropTypes.oneOf(['default', 'dark'])
59
- };
60
- Predictor.defaultProps = {
61
- size: 'large',
62
- alignHorizontal: true,
63
- isRender: true,
64
- className: '',
65
- dataId: 'predictor',
66
- palette: 'default'
67
- };
68
-
69
- if (false) {
70
- Predictor.docs = {
71
- componentGroup: 'SVG'
72
- };
73
- }
package/es/svg/SVG.js DELETED
@@ -1,78 +0,0 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import style from './SVG.module.css';
4
- import styles from './EmptyStateVariables.module.css';
5
- export default class SVG extends React.Component {
6
- render() {
7
- let {
8
- viewBox,
9
- children,
10
- name,
11
- isRender,
12
- isSymbol,
13
- size,
14
- className,
15
- alignHorizontal,
16
- isFluid,
17
- dataId,
18
- palette,
19
- styleName
20
- } = this.props;
21
- return /*#__PURE__*/React.createElement(React.Fragment, null, isSymbol ? /*#__PURE__*/React.createElement("div", {
22
- hidden: true
23
- }, /*#__PURE__*/React.createElement("svg", null, /*#__PURE__*/React.createElement("symbol", {
24
- id: name,
25
- viewBox: viewBox
26
- }, children))) : null, isRender && isSymbol ? /*#__PURE__*/React.createElement("div", {
27
- className: `${size === 'large' ? style.large : size === 'small' ? style.small : isFluid ? style.cover : ''} ${className} ${styles[palette]} ${alignHorizontal ? style.svgCenter : ''} `,
28
- "aria-hidden": "true"
29
- }, /*#__PURE__*/React.createElement("svg", {
30
- height: "100%",
31
- width: "100%",
32
- "data-id": dataId
33
- }, /*#__PURE__*/React.createElement("use", {
34
- xlinkHref: `#${name}`
35
- }))) : isRender ? /*#__PURE__*/React.createElement("div", {
36
- className: `${size === 'large' ? style.large : size === 'small' ? style.small : isFluid ? style.cover : ''} ${className} ${styles[palette]} ${alignHorizontal ? style.svgCenter : ''} `,
37
- "aria-hidden": "true"
38
- }, /*#__PURE__*/React.createElement("svg", {
39
- height: "100%",
40
- width: "100%",
41
- viewBox: viewBox,
42
- "data-id": dataId,
43
- style: styleName
44
- }, children)) : null);
45
- }
46
-
47
- }
48
- SVG.propTypes = {
49
- alignHorizontal: PropTypes.bool,
50
- children: PropTypes.node,
51
- className: PropTypes.string,
52
- dataId: PropTypes.string,
53
- isFluid: PropTypes.bool,
54
- isRender: PropTypes.bool,
55
- isSymbol: PropTypes.bool,
56
- name: PropTypes.string,
57
- size: PropTypes.oneOf(['small', 'large']),
58
- viewBox: PropTypes.string,
59
- palette: PropTypes.oneOf(['default', 'dark']),
60
- styleName: PropTypes.node
61
- };
62
- SVG.defaultProps = {
63
- alignHorizontal: true,
64
- isRender: true,
65
- className: '',
66
- dataId: 'SVG',
67
- name: '',
68
- viewBox: '',
69
- isSymbol: false,
70
- isFluid: false,
71
- palette: 'default'
72
- };
73
-
74
- if (false) {
75
- SVG.docs = {
76
- componentGroup: 'SVG'
77
- };
78
- }
@@ -1,26 +0,0 @@
1
- .cover {
2
- height: 100%;
3
- }
4
- .large {
5
- height: var(--zd_size160);
6
- width: var(--zd_size160);
7
- }
8
- .small {
9
- height: var(--zd_size130);
10
- width: var(--zd_size130);
11
- }
12
- .svgCenter {
13
- margin-left: auto;
14
- margin-right: auto;
15
- }
16
- .loaderWrapper {
17
- height: var(--zd_size40);
18
- width: var(--zd_size40);
19
- }
20
- .center {
21
- height: 100%;
22
- width: 100%;
23
- display: flex;
24
- align-items: center;
25
- justify-content: center;
26
- }
@@ -1,28 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React, { useEffect, useState } from 'react';
4
- export default function SvgLoader(props) {
5
- let uiProps = {};
6
- Object.keys(props).filter(prop => prop != "imageUrl").map(prop => {
7
- uiProps[prop] = props[prop];
8
- });
9
-
10
- let image = require(`./images/${props.imageUrl}`);
11
-
12
- return /*#__PURE__*/React.createElement("image", _extends({
13
- xlinkHref: image
14
- }, uiProps));
15
- }
16
- export function StaticSvg(props) {
17
- let uiProps = {},
18
- [image, setImage] = useState(null);
19
- Object.keys(props).filter(prop => prop != "getImage").map(prop => {
20
- uiProps[prop] = props[prop];
21
- });
22
- useEffect(() => {
23
- props.getImage().then(image => setImage(image));
24
- }, [props.getImage]);
25
- return image ? /*#__PURE__*/React.createElement("image", _extends({
26
- xlinkHref: image.default
27
- }, uiProps)) : null;
28
- }
@@ -1,43 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- import image from './images/UnableToProcess.svg';
7
- export default class UnableToProcessRequest extends React.Component {
8
- render() {
9
- let {
10
- isFluid
11
- } = this.props;
12
- return /*#__PURE__*/React.createElement(SVG, _extends({
13
- viewBox: "0 0 587.1 331.1",
14
- name: "UnableToProcessRequest"
15
- }, this.props, {
16
- isFluid: isFluid
17
- }), /*#__PURE__*/React.createElement("image", {
18
- xlinkHref: image,
19
- height: "100%",
20
- width: "100%"
21
- }));
22
- }
23
-
24
- }
25
- UnableToProcessRequest.propTypes = {
26
- alignHorizontal: PropTypes.bool,
27
- className: PropTypes.string,
28
- dataId: PropTypes.string,
29
- isFluid: PropTypes.bool,
30
- isRender: PropTypes.bool
31
- };
32
- UnableToProcessRequest.defaultProps = {
33
- alignHorizontal: true,
34
- isRender: true,
35
- className: '',
36
- dataId: 'unableToProcessRequest'
37
- };
38
-
39
- if (false) {
40
- UnableToProcessRequest.docs = {
41
- componentGroup: 'SVG'
42
- };
43
- }
@@ -1,43 +0,0 @@
1
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React from 'react';
4
- import PropTypes from 'prop-types';
5
- import SVG from './SVG';
6
- import image from './images/UnauthorizedLogin.svg';
7
- export default class UnauthorizedLogin extends React.Component {
8
- render() {
9
- let {
10
- isFluid
11
- } = this.props;
12
- return /*#__PURE__*/React.createElement(SVG, _extends({
13
- viewBox: "0 0 519.3 288.6",
14
- name: "UnauthorizedLogin"
15
- }, this.props, {
16
- isFluid: isFluid
17
- }), /*#__PURE__*/React.createElement("image", {
18
- xlinkHref: image,
19
- height: "100%",
20
- width: "100%"
21
- }));
22
- }
23
-
24
- }
25
- UnauthorizedLogin.propTypes = {
26
- alignHorizontal: PropTypes.bool,
27
- className: PropTypes.string,
28
- dataId: PropTypes.string,
29
- isFluid: PropTypes.bool,
30
- isRender: PropTypes.bool
31
- };
32
- UnauthorizedLogin.defaultProps = {
33
- alignHorizontal: true,
34
- isRender: true,
35
- className: '',
36
- dataId: 'unauthorizedLogin'
37
- };
38
-
39
- if (false) {
40
- UnauthorizedLogin.docs = {
41
- componentGroup: 'SVG'
42
- };
43
- }