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

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 (197) hide show
  1. package/README.md +1 -1
  2. package/assets/Appearance/dark/mode/darkEmptyStates.module.css +37 -0
  3. package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +10 -0
  4. package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +10 -0
  5. package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +10 -0
  6. package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +10 -0
  7. package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +10 -0
  8. package/assets/Appearance/default/mode/defaultEmptyStates.module.css +37 -0
  9. package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +10 -0
  10. package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +10 -0
  11. package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +10 -0
  12. package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +10 -0
  13. package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +10 -0
  14. package/{src → es}/Provider.js +66 -67
  15. package/{src → es}/index.js +1 -2
  16. package/es/svg/EmptyAccounts.js +101 -0
  17. package/es/svg/EmptyActiveCalls.js +72 -0
  18. package/es/svg/EmptyActivity.js +72 -0
  19. package/es/svg/EmptyAgent.js +72 -0
  20. package/es/svg/EmptyAgentQueue.js +78 -0
  21. package/es/svg/EmptyApproval.js +78 -0
  22. package/es/svg/EmptyArchived.js +80 -0
  23. package/es/svg/EmptyAttach.js +72 -0
  24. package/es/svg/EmptyBlueprint.js +87 -0
  25. package/{src → es}/svg/EmptyBusinessHoliday.js +13 -8
  26. package/{src → es}/svg/EmptyBusinessHour.js +13 -8
  27. package/es/svg/EmptyCallHistory.js +74 -0
  28. package/es/svg/EmptyCollision.js +72 -0
  29. package/es/svg/EmptyColumn.js +78 -0
  30. package/es/svg/EmptyContact.js +72 -0
  31. package/es/svg/EmptyContract.js +68 -0
  32. package/es/svg/EmptyConversation.js +72 -0
  33. package/es/svg/EmptyCrm.js +72 -0
  34. package/es/svg/EmptyCrmNotes.js +83 -0
  35. package/es/svg/EmptyCrmPotential.js +86 -0
  36. package/{src → es}/svg/EmptyCustomDomain.js +13 -7
  37. package/es/svg/EmptyDashboard.js +78 -0
  38. package/es/svg/EmptyDepartment.js +72 -0
  39. package/es/svg/EmptyError.js +94 -0
  40. package/es/svg/EmptyFeed.js +75 -0
  41. package/es/svg/EmptyFollowers.js +73 -0
  42. package/es/svg/EmptyFrame.js +71 -0
  43. package/{src → es}/svg/EmptyFromAddress.js +14 -7
  44. package/es/svg/EmptyHappiness.js +72 -0
  45. package/es/svg/EmptyHistory.js +72 -0
  46. package/{src → es}/svg/EmptyImportHistory.js +14 -7
  47. package/es/svg/EmptyInconvenience.js +42 -0
  48. package/es/svg/EmptyInvoice.js +77 -0
  49. package/{src → es}/svg/EmptyNetwork.js +14 -7
  50. package/es/svg/EmptyNotification.js +72 -0
  51. package/es/svg/EmptyProducts.js +75 -0
  52. package/{src → es}/svg/EmptyRecycleBin.js +14 -7
  53. package/es/svg/EmptyReply.js +67 -0
  54. package/es/svg/EmptyReports.js +78 -0
  55. package/{src → es}/svg/EmptyRoles.js +14 -7
  56. package/es/svg/EmptySchedule.js +114 -0
  57. package/es/svg/EmptySearch.js +82 -0
  58. package/es/svg/EmptySkills.js +120 -0
  59. package/es/svg/EmptySla.js +67 -0
  60. package/es/svg/EmptySnippet.js +82 -0
  61. package/{src → es}/svg/EmptyStateVariables.module.css +0 -0
  62. package/es/svg/EmptyTag.js +75 -0
  63. package/es/svg/EmptyTask.js +88 -0
  64. package/es/svg/EmptyTeams.js +72 -0
  65. package/es/svg/EmptyTemplate.js +84 -0
  66. package/es/svg/EmptyTicket.js +75 -0
  67. package/es/svg/EmptyTimeEntry.js +78 -0
  68. package/es/svg/EmptyTimeline.js +72 -0
  69. package/es/svg/EmptyTopic.js +78 -0
  70. package/es/svg/EmptyUnauthorizedLogin.js +47 -0
  71. package/{src → es}/svg/EmptyWebhook.js +14 -7
  72. package/es/svg/EmptyWillBeRightBack.js +42 -0
  73. package/es/svg/ErrorInconvenience.js +113 -0
  74. package/es/svg/ErrorOopsSomethingMiss.js +114 -0
  75. package/es/svg/ErrorUnableToProcessRequest.js +114 -0
  76. package/es/svg/ErrorUnauthorizedLogin.js +113 -0
  77. package/es/svg/ErrorUrlNotFound.js +114 -0
  78. package/es/svg/ErrorWillBeRightBack.js +113 -0
  79. package/es/svg/Extractor.js +66 -0
  80. package/es/svg/FailureLog.js +39 -0
  81. package/es/svg/Import.js +82 -0
  82. package/es/svg/Loader.js +71 -0
  83. package/es/svg/NoRequestFound.js +42 -0
  84. package/es/svg/NotImpossible.js +79 -0
  85. package/es/svg/PageNotFound.js +43 -0
  86. package/es/svg/Predictor.js +73 -0
  87. package/es/svg/SVG.js +78 -0
  88. package/{src → es}/svg/SVG.module.css +0 -0
  89. package/es/svg/SvgLoader.js +28 -0
  90. package/es/svg/UnableToProcessRequest.js +43 -0
  91. package/es/svg/UnauthorizedLogin.js +43 -0
  92. package/es/svg/UrlNotFound.js +43 -0
  93. package/es/svg/WillBeRightBack.js +43 -0
  94. package/es/svg/ZiaAnamoly.js +67 -0
  95. package/{src → es}/svg/images/EmptyBusinessHoliday.svg +0 -0
  96. package/{src → es}/svg/images/EmptyBusinessHour.svg +0 -0
  97. package/{src → es}/svg/images/EmptyContactInfo.svg +0 -0
  98. package/{src → es}/svg/images/EmptyCustomDomain.svg +0 -0
  99. package/{src → es}/svg/images/EmptyFilter.svg +0 -0
  100. package/{src → es}/svg/images/EmptyFromAddress.svg +0 -0
  101. package/{src → es}/svg/images/EmptyImportHistory.svg +0 -0
  102. package/{src → es}/svg/images/EmptyNetwork.svg +0 -0
  103. package/{src → es}/svg/images/EmptyRecycleBin.svg +0 -0
  104. package/{src → es}/svg/images/EmptyRoles.svg +0 -0
  105. package/{src → es}/svg/images/EmptySkills.svg +0 -0
  106. package/{src → es}/svg/images/EmptyWebhook.svg +0 -0
  107. package/{src → es}/svg/images/FailureLog.svg +0 -0
  108. package/{src → es}/svg/images/Inconvenience.svg +0 -0
  109. package/{src → es}/svg/images/NoRequestFound.svg +0 -0
  110. package/{src → es}/svg/images/PageNotFound.svg +0 -0
  111. package/{src → es}/svg/images/ReguestUrlNotFound.svg +0 -0
  112. package/{src → es}/svg/images/UnableToProcess.svg +0 -0
  113. package/{src → es}/svg/images/UnauthorizedLogin.svg +0 -0
  114. package/{src → es}/svg/images/WillBack.svg +0 -0
  115. package/{src → es}/svg/utils.js +1 -2
  116. package/package.json +2 -9
  117. package/lib/svg/docs/SVG__common.docs.js +0 -98
  118. package/lib/svg/docs/SVG__default.docs.js +0 -435
  119. package/lib/svg/docs/SVG__errorstate.docs.js +0 -129
  120. package/lib/svg/docs/SVGdocstyle.module.css +0 -8
  121. package/preprocess/index.js +0 -2
  122. package/preprocess/json/svgAppearanceVariableJson.js +0 -151
  123. package/preprocess/json/svgThemeVariableJson.js +0 -71
  124. package/preprocess/svgAppearanceColors.js +0 -63
  125. package/preprocess/svgThemeColors.js +0 -92
  126. package/src/svg/EmptyAccounts.js +0 -121
  127. package/src/svg/EmptyActiveCalls.js +0 -85
  128. package/src/svg/EmptyActivity.js +0 -85
  129. package/src/svg/EmptyAgent.js +0 -85
  130. package/src/svg/EmptyAgentQueue.js +0 -94
  131. package/src/svg/EmptyApproval.js +0 -85
  132. package/src/svg/EmptyArchived.js +0 -94
  133. package/src/svg/EmptyAttach.js +0 -85
  134. package/src/svg/EmptyBlueprint.js +0 -106
  135. package/src/svg/EmptyCallHistory.js +0 -82
  136. package/src/svg/EmptyCollision.js +0 -85
  137. package/src/svg/EmptyColumn.js +0 -91
  138. package/src/svg/EmptyContact.js +0 -85
  139. package/src/svg/EmptyContract.js +0 -81
  140. package/src/svg/EmptyConversation.js +0 -85
  141. package/src/svg/EmptyCrm.js +0 -84
  142. package/src/svg/EmptyCrmNotes.js +0 -96
  143. package/src/svg/EmptyCrmPotential.js +0 -100
  144. package/src/svg/EmptyDashboard.js +0 -90
  145. package/src/svg/EmptyDepartment.js +0 -87
  146. package/src/svg/EmptyError.js +0 -42
  147. package/src/svg/EmptyFeed.js +0 -87
  148. package/src/svg/EmptyFollowers.js +0 -85
  149. package/src/svg/EmptyFrame.js +0 -83
  150. package/src/svg/EmptyHappiness.js +0 -85
  151. package/src/svg/EmptyHistory.js +0 -84
  152. package/src/svg/EmptyInconvenience.js +0 -37
  153. package/src/svg/EmptyInvoice.js +0 -90
  154. package/src/svg/EmptyNotification.js +0 -84
  155. package/src/svg/EmptyProducts.js +0 -88
  156. package/src/svg/EmptyReply.js +0 -81
  157. package/src/svg/EmptyReports.js +0 -90
  158. package/src/svg/EmptySchedule.js +0 -131
  159. package/src/svg/EmptySearch.js +0 -95
  160. package/src/svg/EmptySkills.js +0 -116
  161. package/src/svg/EmptySla.js +0 -81
  162. package/src/svg/EmptySnippet.js +0 -96
  163. package/src/svg/EmptyTag.js +0 -88
  164. package/src/svg/EmptyTask.js +0 -97
  165. package/src/svg/EmptyTeams.js +0 -85
  166. package/src/svg/EmptyTemplate.js +0 -88
  167. package/src/svg/EmptyTicket.js +0 -88
  168. package/src/svg/EmptyTimeEntry.js +0 -91
  169. package/src/svg/EmptyTimeline.js +0 -85
  170. package/src/svg/EmptyTopic.js +0 -92
  171. package/src/svg/EmptyUnauthorizedLogin.js +0 -44
  172. package/src/svg/EmptyWillBeRightBack.js +0 -44
  173. package/src/svg/ErrorInconvenience.js +0 -128
  174. package/src/svg/ErrorOopsSomethingMiss.js +0 -128
  175. package/src/svg/ErrorUnableToProcessRequest.js +0 -128
  176. package/src/svg/ErrorUnauthorizedLogin.js +0 -127
  177. package/src/svg/ErrorUrlNotFound.js +0 -128
  178. package/src/svg/ErrorWillBeRightBack.js +0 -127
  179. package/src/svg/Extractor.js +0 -76
  180. package/src/svg/FailureLog.js +0 -32
  181. package/src/svg/Import.js +0 -85
  182. package/src/svg/Loader.js +0 -81
  183. package/src/svg/NoRequestFound.js +0 -37
  184. package/src/svg/NotImpossible.js +0 -80
  185. package/src/svg/PageNotFound.js +0 -38
  186. package/src/svg/Predictor.js +0 -78
  187. package/src/svg/SVG.js +0 -107
  188. package/src/svg/SvgLoader.js +0 -21
  189. package/src/svg/UnableToProcessRequest.js +0 -37
  190. package/src/svg/UnauthorizedLogin.js +0 -37
  191. package/src/svg/UrlNotFound.js +0 -37
  192. package/src/svg/WillBeRightBack.js +0 -37
  193. package/src/svg/ZiaAnamoly.js +0 -76
  194. package/src/svg/docs/SVG__common.docs.js +0 -47
  195. package/src/svg/docs/SVG__default.docs.js +0 -233
  196. package/src/svg/docs/SVG__errorstate.docs.js +0 -75
  197. package/src/svg/docs/SVGdocstyle.module.css +0 -8
package/es/svg/SVG.js ADDED
@@ -0,0 +1,78 @@
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
+ }
File without changes
@@ -0,0 +1,28 @@
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
+ }
@@ -0,0 +1,43 @@
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
+ }
@@ -0,0 +1,43 @@
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
+ }
@@ -0,0 +1,43 @@
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/ReguestUrlNotFound.svg';
7
+ export default class UrlNotFound extends React.Component {
8
+ render() {
9
+ let {
10
+ isFluid
11
+ } = this.props;
12
+ return /*#__PURE__*/React.createElement(SVG, _extends({
13
+ viewBox: "0 0 614.2 310.2",
14
+ name: "UrlNotFound"
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
+ UrlNotFound.propTypes = {
26
+ alignHorizontal: PropTypes.bool,
27
+ className: PropTypes.string,
28
+ dataId: PropTypes.string,
29
+ isFluid: PropTypes.bool,
30
+ isRender: PropTypes.bool
31
+ };
32
+ UrlNotFound.defaultProps = {
33
+ alignHorizontal: true,
34
+ isRender: true,
35
+ className: '',
36
+ dataId: 'urlNotFound'
37
+ };
38
+
39
+ if (false) {
40
+ UrlNotFound.docs = {
41
+ componentGroup: 'SVG'
42
+ };
43
+ }
@@ -0,0 +1,43 @@
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/WillBack.svg';
7
+ export default class WillBeRightBack extends React.Component {
8
+ render() {
9
+ let {
10
+ isFluid
11
+ } = this.props;
12
+ return /*#__PURE__*/React.createElement(SVG, _extends({
13
+ viewBox: "0 0 889 490.6",
14
+ name: "WillBeRightBack"
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
+ WillBeRightBack.propTypes = {
26
+ alignHorizontal: PropTypes.bool,
27
+ className: PropTypes.string,
28
+ dataId: PropTypes.string,
29
+ isFluid: PropTypes.bool,
30
+ isRender: PropTypes.bool
31
+ };
32
+ WillBeRightBack.defaultProps = {
33
+ alignHorizontal: true,
34
+ isRender: true,
35
+ className: '',
36
+ dataId: 'willBeRightBack'
37
+ };
38
+
39
+ if (false) {
40
+ WillBeRightBack.docs = {
41
+ componentGroup: 'SVG'
42
+ };
43
+ }
@@ -0,0 +1,67 @@
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 ZiaAnamoly extends React.Component {
7
+ render() {
8
+ return /*#__PURE__*/React.createElement(SVG, _extends({
9
+ viewBox: "0 0 200 200",
10
+ name: "ziaAnamoly"
11
+ }, this.props), /*#__PURE__*/React.createElement("style", null, ".ZIAAnomaly_svg__st1{opacity:.1;fill:var(--zd_emptysvg_primary_fill);enable-background:new}.ZIAAnomaly_svg__st2{fill:var(--zd_emptysvg_plus)}.ZIAAnomaly_svg__st3{fill:var(--zd_emptysvg_medium_circle)}.ZIAAnomaly_svg__st4{fill:var(--zd_emptysvg_tiny_circle)}"), /*#__PURE__*/React.createElement("path", {
12
+ fill: "none",
13
+ d: "M10 22h180v160H10z"
14
+ }), /*#__PURE__*/React.createElement("path", {
15
+ className: "ZIAAnomaly_svg__st1",
16
+ 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"
17
+ }), /*#__PURE__*/React.createElement("path", {
18
+ className: "ZIAAnomaly_svg__st2",
19
+ 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"
20
+ }), /*#__PURE__*/React.createElement("path", {
21
+ className: "ZIAAnomaly_svg__st2",
22
+ 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"
23
+ }), /*#__PURE__*/React.createElement("path", {
24
+ className: "ZIAAnomaly_svg__st3",
25
+ 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"
26
+ }), /*#__PURE__*/React.createElement("path", {
27
+ className: "ZIAAnomaly_svg__st4",
28
+ d: "M60.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"
29
+ }), /*#__PURE__*/React.createElement("path", {
30
+ className: "ZIAAnomaly_svg__st1",
31
+ 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"
32
+ }), /*#__PURE__*/React.createElement("path", {
33
+ d: "M70.4 82.3c-4.5-5.7-8.7-33.5 5.4-24.4s29.1-2.4 39.7 2.6 10.6 17.7 6.4 26.3c-4.2 8.6-47.1 4-53.6-.8s-8.7-50.8 20.9-55c34-4.8 49.5 10.6 56.2 22.6 6.8 12 2.7 29.6-.5 25-3.2-4.6 1-17.8 1-17.8-9.7 7.6-7.7 26-1.5 30.3 6.2 4.3 15-1.4 15-1.4-10.7-5.8-5.7-19.3-5.7-19.3-2.3 16.9 8.7 17.1 8.7 17.1 8.6-19.5-7.7-27.3-7.7-27.3s-6.3-26.6-38.6-33.9C83.6 19 56.5 48.2 56.4 55.5s-2.5 24.6-3.9 20.9c-1.4-3.8 1.9-20.1 1.9-20.1s-12.6 7.1-1 27.9c11.7 20.8 26.9 15.9 27.2 15 .4-1-7.3-3.2-7.6-3.2-.4 0-3 4.6-3 4.6 24.5 20.7 80 3.3 69.1-.8-11.1-4.2-74.8-.2-74.8 9.6 0 9.9 3.2 20.8 3.2 20.8s-41.3 25.2-38.4 10.5 35.8-31.6 34.1-33.6c-1.7-2-2.5 1.2-2.5 1.2 7.3 70.7 51.7 66.1 51.7 66.1S97 161.9 90.7 141.5c-6.3-20.4-4.2-29.7-4.2-29.7s39.6 6.9 57-9.9c0 0-11.9 5.1-10.8 28.5 1.1 23.5 22.9 40.1 29.4 37.2 9.6-4.3 7.8-41.1-6.9-56.7-14.7-15.6-22 14.6-11.9 33.5 8.6 16.1 14.7 16.8 18 14.5 0 0 7-25.4-10.7-39.1 0 0-10.5 44.7-30.9 52",
34
+ fill: "none",
35
+ stroke: "var(--zd_emptysvg_primary_stroke)",
36
+ strokeLinecap: "round",
37
+ strokeLinejoin: "round",
38
+ strokeMiterlimit: 10
39
+ }), /*#__PURE__*/React.createElement("path", {
40
+ d: "M75.7 79.7S67.1 58.4 79 64.6c12 6.1 28-5.3 34.2 1.4 6.2 6.7 3.3 19.9-2.4 20.8-5.7.8-27.9 2.3-35.1-7.1zm44 44s-17.5 4.8-24.6-1.4c-7.1-6.2 9.5 16.5 15.1 18.4 5.7 1.9-5.2 18 1.4 22.2 6.8 4.3 18.6-14.6 8.1-39.2z",
41
+ fill: "var(--zd_emptysvg_secondary_fill)"
42
+ }));
43
+ }
44
+
45
+ }
46
+ ZiaAnamoly.propTypes = {
47
+ alignHorizontal: PropTypes.bool,
48
+ className: PropTypes.string,
49
+ dataId: PropTypes.string,
50
+ isRender: PropTypes.bool,
51
+ size: PropTypes.oneOf(['small', 'large']),
52
+ palette: PropTypes.oneOf(['default', 'dark'])
53
+ };
54
+ ZiaAnamoly.defaultProps = {
55
+ size: 'large',
56
+ alignHorizontal: true,
57
+ isRender: true,
58
+ className: '',
59
+ dataId: 'ziaAnamoly',
60
+ palette: 'default'
61
+ };
62
+
63
+ if (false) {
64
+ ZiaAnamoly.docs = {
65
+ componentGroup: 'SVG'
66
+ };
67
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -6,10 +6,9 @@ export const emptyStatePropTypes = {
6
6
  dataId: PropTypes.string,
7
7
  isRender: PropTypes.bool
8
8
  };
9
-
10
9
  export const emptyStateDefaultProps = {
11
10
  size: 'large',
12
11
  alignHorizontal: true,
13
12
  isRender: true,
14
13
  className: ''
15
- };
14
+ };
package/package.json CHANGED
@@ -1,21 +1,13 @@
1
1
  {
2
2
  "name": "@zohodesk/svg",
3
- "version": "1.0.0-beta.40",
3
+ "version": "1.0.0-beta.41",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
7
7
  "private": false,
8
8
  "umdVar": "Library",
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/vimalceg/fz-dnd.git"
12
- },
13
9
  "author": "",
14
10
  "license": "ISC",
15
- "bugs": {
16
- "url": "https://github.com/vimalceg/fz-dnd/issues"
17
- },
18
- "homepage": "https://github.com/vimalceg/fz-dnd#readme",
19
11
  "scripts": {
20
12
  "clean": "react-cli clean lib es coverage",
21
13
  "build": "react-cli build:component:cmjs",
@@ -34,6 +26,7 @@
34
26
  "runner": "preprocess/index.js"
35
27
  }
36
28
  },
29
+ "dependencies": {},
37
30
  "devDependencies": {
38
31
  "@zohodesk/variables": "1.0.0-beta.29",
39
32
  "@zohodesk/components": "1.0.0-alpha-225",
@@ -1,98 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _Loader = _interopRequireDefault(require("../Loader"));
13
-
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
17
-
18
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
19
-
20
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
21
-
22
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
-
24
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
25
-
26
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
27
-
28
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
29
-
30
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
31
-
32
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
33
-
34
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
35
-
36
- var SVG__common = /*#__PURE__*/function (_React$Component) {
37
- _inherits(SVG__common, _React$Component);
38
-
39
- var _super = _createSuper(SVG__common);
40
-
41
- function SVG__common() {
42
- _classCallCheck(this, SVG__common);
43
-
44
- return _super.apply(this, arguments);
45
- }
46
-
47
- _createClass(SVG__common, [{
48
- key: "render",
49
- value: function render() {
50
- var boxStyle = {
51
- minWidth: '15%',
52
- border: '1px solid #dcdcdc',
53
- padding: '5px',
54
- margin: '5px',
55
- flex: '1',
56
- maxWidth: '25%',
57
- justifyContent: 'space-between'
58
- };
59
- var textStyle = {
60
- textAlign: 'center',
61
- padding: '10px 0',
62
- background: ' #f9f9f9',
63
- marginTop: '10px',
64
- color: '#000'
65
- };
66
- return /*#__PURE__*/_react["default"].createElement("div", {
67
- style: {
68
- display: 'flex',
69
- flexDirection: 'row',
70
- alignItems: 'center',
71
- justifyContent: 'center',
72
- flexWrap: 'wrap',
73
- height: '100%'
74
- }
75
- }, /*#__PURE__*/_react["default"].createElement("div", {
76
- style: boxStyle
77
- }, /*#__PURE__*/_react["default"].createElement("div", {
78
- style: {
79
- height: '40px',
80
- width: '40px',
81
- margin: 'auto'
82
- }
83
- }, /*#__PURE__*/_react["default"].createElement(_Loader["default"], null)), /*#__PURE__*/_react["default"].createElement("div", {
84
- style: textStyle
85
- }, "Loader")));
86
- }
87
- }]);
88
-
89
- return SVG__common;
90
- }(_react["default"].Component);
91
-
92
- exports["default"] = SVG__common;
93
-
94
- if (false) {
95
- SVG__common.docs = {
96
- componentGroup: 'SVG'
97
- };
98
- }