@zohodesk/svg 1.0.0-temp.47 → 1.0.0-temp.49
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.
- package/README.md +11 -0
- package/assets/Appearance/dark/mode/darkEmptyStates.module.css +30 -30
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +8 -8
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +8 -8
- package/assets/Appearance/default/mode/defaultEmptyStates.module.css +30 -30
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css +30 -30
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +8 -8
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +8 -8
- package/css_error.log +0 -0
- package/es/Loader/Loader.js +7 -9
- package/es/{svg → SVG}/SVG.js +5 -6
- package/es/{svg → SVG}/SVG.module.css +0 -0
- package/es/{svg → SVG}/SvgLoader.js +1 -4
- package/es/{svg → SVG}/props/defaultProps.js +0 -0
- package/es/{svg → SVG}/props/propTypes.js +0 -0
- package/es/emptystate/version1/EmptyCustomDomain.js +8 -10
- package/es/emptystate/version2/EmptyBusinessHoliday.js +8 -9
- package/es/emptystate/version2/EmptyBusinessHour.js +8 -9
- package/es/emptystate/version2/EmptyFromAddress.js +8 -10
- package/es/emptystate/version2/EmptyImportHistory.js +8 -9
- package/es/emptystate/version2/EmptyNetwork.js +8 -10
- package/es/emptystate/version2/EmptyRecycleBin.js +8 -10
- package/es/emptystate/version2/EmptyRoles.js +8 -10
- package/es/emptystate/version2/EmptyWebhook.js +8 -10
- package/es/emptystate/version2/FailureLog.js +8 -9
- package/es/emptystate/version3/AuditLog.js +78 -0
- package/es/emptystate/version3/Contract.js +90 -0
- package/es/emptystate/version3/CustomModule.js +8 -10
- package/es/emptystate/version3/EmptyAccounts.js +8 -10
- package/es/emptystate/version3/EmptyActiveCalls.js +8 -9
- package/es/emptystate/version3/EmptyActivity.js +8 -9
- package/es/emptystate/version3/EmptyAgent.js +8 -9
- package/es/emptystate/version3/EmptyAgentQueue.js +8 -9
- package/es/emptystate/version3/EmptyApplechat.js +72 -0
- package/es/emptystate/version3/EmptyApproval.js +8 -10
- package/es/emptystate/version3/EmptyArchived.js +8 -10
- package/es/emptystate/version3/EmptyArticle.js +73 -0
- package/es/emptystate/version3/EmptyAsapchat.js +68 -0
- package/es/emptystate/version3/EmptyAttach.js +8 -9
- package/es/emptystate/version3/EmptyBlueprint.js +8 -9
- package/es/emptystate/version3/EmptyCallHistory.js +8 -9
- package/es/emptystate/version3/EmptyCanned.js +78 -0
- package/es/emptystate/version3/EmptyChat.js +78 -0
- package/es/emptystate/version3/EmptyCollision.js +8 -10
- package/es/emptystate/version3/EmptyColumn.js +8 -10
- package/es/emptystate/version3/EmptyContact.js +8 -9
- package/es/emptystate/version3/EmptyContract.js +8 -10
- package/es/emptystate/version3/EmptyConversation.js +8 -9
- package/es/emptystate/version3/EmptyCrm.js +8 -10
- package/es/emptystate/version3/EmptyCrmNotes.js +8 -10
- package/es/emptystate/version3/EmptyCrmPotential.js +8 -9
- package/es/emptystate/version3/EmptyDashboard.js +8 -10
- package/es/emptystate/version3/EmptyDelete.js +8 -10
- package/es/emptystate/version3/EmptyDepartment.js +8 -10
- package/es/emptystate/version3/EmptyError.js +8 -9
- package/es/emptystate/version3/EmptyFeed.js +8 -10
- package/es/emptystate/version3/EmptyFollowers.js +8 -10
- package/es/emptystate/version3/EmptyFrame.js +8 -9
- package/es/emptystate/version3/EmptyHappiness.js +8 -9
- package/es/emptystate/version3/EmptyHistory.js +8 -10
- package/es/emptystate/version3/EmptyInstagram.js +74 -0
- package/es/emptystate/version3/EmptyInstantmessage.js +76 -0
- package/es/emptystate/version3/EmptyInvoice.js +8 -10
- package/es/emptystate/version3/EmptyLine.js +74 -0
- package/es/emptystate/version3/EmptyMessenger.js +60 -0
- package/es/emptystate/version3/EmptyNoData.js +78 -0
- package/es/emptystate/version3/EmptyNotification.js +8 -10
- package/es/emptystate/version3/EmptyPreference.js +79 -0
- package/es/emptystate/version3/EmptyProducts.js +8 -10
- package/es/emptystate/version3/EmptyReply.js +8 -10
- package/es/emptystate/version3/EmptyReports.js +8 -10
- package/es/emptystate/version3/EmptySandbox.js +70 -0
- package/es/emptystate/version3/EmptySchedule.js +8 -10
- package/es/emptystate/version3/EmptySearch.js +8 -10
- package/es/emptystate/version3/EmptySkills.js +8 -10
- package/es/emptystate/version3/EmptySla.js +8 -10
- package/es/emptystate/version3/EmptySnippet.js +8 -10
- package/es/emptystate/version3/EmptyTag.js +8 -10
- package/es/emptystate/version3/EmptyTask.js +8 -10
- package/es/emptystate/version3/EmptyTeams.js +8 -9
- package/es/emptystate/version3/EmptyTelegram.js +74 -0
- package/es/emptystate/version3/EmptyTemplate.js +8 -10
- package/es/emptystate/version3/EmptyTicket.js +8 -9
- package/es/emptystate/version3/EmptyTimeEntry.js +8 -10
- package/es/emptystate/version3/EmptyTimeline.js +8 -9
- package/es/emptystate/version3/EmptyTopic.js +8 -10
- package/es/emptystate/version3/EmptyTwilio.js +74 -0
- package/es/emptystate/version3/EmptyWechat.js +74 -0
- package/es/emptystate/version3/EmptyWhatsapp.js +74 -0
- package/es/emptystate/version3/Export.js +8 -9
- package/es/emptystate/version3/Extensions.js +8 -9
- package/es/emptystate/version3/Extractor.js +8 -9
- package/es/emptystate/version3/GCBot.js +8 -9
- package/es/emptystate/version3/GCConversation.js +8 -9
- package/es/emptystate/version3/Import.js +8 -9
- package/es/emptystate/version3/KBBot.js +8 -9
- package/es/emptystate/version3/Multilingual.js +8 -9
- package/es/emptystate/version3/NetworkError.js +8 -9
- package/es/emptystate/version3/Predictor.js +8 -9
- package/es/emptystate/version3/ReadRecipients.js +8 -9
- package/es/emptystate/version3/SupportPlan.js +75 -0
- package/es/emptystate/version3/Variable.js +8 -9
- package/es/emptystate/version3/ZiaAnamoly.js +8 -9
- package/es/errorstate/version1/EmptyInconvenience.js +8 -9
- package/es/errorstate/version1/NoRequestFound.js +8 -9
- package/es/errorstate/version1/PageNotFound.js +8 -9
- package/es/errorstate/version1/UnableToProcessRequest.js +8 -9
- package/es/errorstate/version1/UnauthorizedLogin.js +8 -9
- package/es/errorstate/version1/UrlNotFound.js +8 -9
- package/es/errorstate/version1/WillBeRightBack.js +8 -9
- package/es/errorstate/version2/EmptyUnauthorizedLogin.js +9 -11
- package/es/errorstate/version2/EmptyWillBeRightBack.js +8 -9
- package/es/errorstate/version2/NotImpossible.js +8 -9
- package/es/errorstate/version3/ErrorInconvenience.js +9 -11
- package/es/errorstate/version3/ErrorOopsSomethingMiss.js +9 -11
- package/es/errorstate/version3/ErrorUnableToProcessRequest.js +9 -11
- package/es/errorstate/version3/ErrorUnauthorizedLogin.js +9 -10
- package/es/errorstate/version3/ErrorUrlNotFound.js +9 -11
- package/es/errorstate/version3/ErrorWillBeRightBack.js +9 -10
- package/es/index.js +14 -12
- package/install.md +11 -0
- package/lib/Loader/Loader.js +7 -32
- package/lib/Loader/props/propTypes.js +0 -3
- package/lib/{svg → SVG}/SVG.js +17 -41
- package/lib/{svg → SVG}/SVG.module.css +0 -0
- package/lib/{svg → SVG}/SvgLoader.js +4 -20
- package/lib/{svg → SVG}/props/defaultProps.js +0 -0
- package/lib/{svg → SVG}/props/propTypes.js +0 -3
- package/lib/emptystate/props/propTypes.js +0 -3
- package/lib/emptystate/version1/EmptyCustomDomain.js +6 -35
- package/lib/emptystate/version2/EmptyBusinessHoliday.js +6 -34
- package/lib/emptystate/version2/EmptyBusinessHour.js +6 -34
- package/lib/emptystate/version2/EmptyFromAddress.js +6 -35
- package/lib/emptystate/version2/EmptyImportHistory.js +6 -34
- package/lib/emptystate/version2/EmptyNetwork.js +6 -35
- package/lib/emptystate/version2/EmptyRecycleBin.js +6 -35
- package/lib/emptystate/version2/EmptyRoles.js +6 -35
- package/lib/emptystate/version2/EmptyWebhook.js +6 -35
- package/lib/emptystate/version2/FailureLog.js +6 -34
- package/lib/emptystate/version3/AuditLog.js +109 -0
- package/lib/emptystate/version3/Contract.js +121 -0
- package/lib/emptystate/version3/CustomModule.js +6 -34
- package/lib/emptystate/version3/EmptyAccounts.js +6 -34
- package/lib/emptystate/version3/EmptyActiveCalls.js +6 -33
- package/lib/emptystate/version3/EmptyActivity.js +6 -33
- package/lib/emptystate/version3/EmptyAgent.js +6 -33
- package/lib/emptystate/version3/EmptyAgentQueue.js +6 -33
- package/lib/emptystate/version3/EmptyApplechat.js +103 -0
- package/lib/emptystate/version3/EmptyApproval.js +6 -34
- package/lib/emptystate/version3/EmptyArchived.js +6 -34
- package/lib/emptystate/version3/EmptyArticle.js +104 -0
- package/lib/emptystate/version3/EmptyAsapchat.js +99 -0
- package/lib/emptystate/version3/EmptyAttach.js +6 -33
- package/lib/emptystate/version3/EmptyBlueprint.js +6 -33
- package/lib/emptystate/version3/EmptyCallHistory.js +6 -33
- package/lib/emptystate/version3/EmptyCanned.js +109 -0
- package/lib/emptystate/version3/EmptyChat.js +109 -0
- package/lib/emptystate/version3/EmptyCollision.js +6 -34
- package/lib/emptystate/version3/EmptyColumn.js +6 -34
- package/lib/emptystate/version3/EmptyContact.js +6 -33
- package/lib/emptystate/version3/EmptyContract.js +6 -34
- package/lib/emptystate/version3/EmptyConversation.js +6 -33
- package/lib/emptystate/version3/EmptyCrm.js +6 -34
- package/lib/emptystate/version3/EmptyCrmNotes.js +6 -34
- package/lib/emptystate/version3/EmptyCrmPotential.js +6 -33
- package/lib/emptystate/version3/EmptyDashboard.js +6 -34
- package/lib/emptystate/version3/EmptyDelete.js +6 -34
- package/lib/emptystate/version3/EmptyDepartment.js +6 -34
- package/lib/emptystate/version3/EmptyError.js +6 -33
- package/lib/emptystate/version3/EmptyFeed.js +6 -34
- package/lib/emptystate/version3/EmptyFollowers.js +6 -34
- package/lib/emptystate/version3/EmptyFrame.js +6 -33
- package/lib/emptystate/version3/EmptyHappiness.js +6 -33
- package/lib/emptystate/version3/EmptyHistory.js +6 -34
- package/lib/emptystate/version3/EmptyInstagram.js +105 -0
- package/lib/emptystate/version3/EmptyInstantmessage.js +107 -0
- package/lib/emptystate/version3/EmptyInvoice.js +6 -34
- package/lib/emptystate/version3/EmptyLine.js +105 -0
- package/lib/emptystate/version3/EmptyMessenger.js +91 -0
- package/lib/emptystate/version3/EmptyNoData.js +109 -0
- package/lib/emptystate/version3/EmptyNotification.js +6 -34
- package/lib/emptystate/version3/EmptyPreference.js +110 -0
- package/lib/emptystate/version3/EmptyProducts.js +6 -34
- package/lib/emptystate/version3/EmptyReply.js +6 -34
- package/lib/emptystate/version3/EmptyReports.js +6 -34
- package/lib/emptystate/version3/EmptySandbox.js +101 -0
- package/lib/emptystate/version3/EmptySchedule.js +6 -34
- package/lib/emptystate/version3/EmptySearch.js +6 -34
- package/lib/emptystate/version3/EmptySkills.js +6 -34
- package/lib/emptystate/version3/EmptySla.js +6 -34
- package/lib/emptystate/version3/EmptySnippet.js +6 -34
- package/lib/emptystate/version3/EmptyTag.js +6 -34
- package/lib/emptystate/version3/EmptyTask.js +6 -34
- package/lib/emptystate/version3/EmptyTeams.js +6 -33
- package/lib/emptystate/version3/EmptyTelegram.js +105 -0
- package/lib/emptystate/version3/EmptyTemplate.js +6 -34
- package/lib/emptystate/version3/EmptyTicket.js +6 -33
- package/lib/emptystate/version3/EmptyTimeEntry.js +6 -34
- package/lib/emptystate/version3/EmptyTimeline.js +6 -33
- package/lib/emptystate/version3/EmptyTopic.js +6 -34
- package/lib/emptystate/version3/EmptyTwilio.js +105 -0
- package/lib/emptystate/version3/EmptyWechat.js +105 -0
- package/lib/emptystate/version3/EmptyWhatsapp.js +105 -0
- package/lib/emptystate/version3/Export.js +6 -33
- package/lib/emptystate/version3/Extensions.js +6 -33
- package/lib/emptystate/version3/Extractor.js +6 -33
- package/lib/emptystate/version3/GCBot.js +6 -33
- package/lib/emptystate/version3/GCConversation.js +6 -33
- package/lib/emptystate/version3/Import.js +6 -33
- package/lib/emptystate/version3/KBBot.js +6 -33
- package/lib/emptystate/version3/Multilingual.js +6 -33
- package/lib/emptystate/version3/NetworkError.js +6 -33
- package/lib/emptystate/version3/Predictor.js +6 -33
- package/lib/emptystate/version3/ReadRecipients.js +6 -33
- package/lib/emptystate/version3/SupportPlan.js +106 -0
- package/lib/emptystate/version3/Variable.js +6 -33
- package/lib/emptystate/version3/ZiaAnamoly.js +6 -33
- package/lib/errorstate/props/propTypes.js +0 -3
- package/lib/errorstate/version1/EmptyInconvenience.js +6 -34
- package/lib/errorstate/version1/NoRequestFound.js +6 -34
- package/lib/errorstate/version1/PageNotFound.js +6 -34
- package/lib/errorstate/version1/UnableToProcessRequest.js +6 -34
- package/lib/errorstate/version1/UnauthorizedLogin.js +6 -34
- package/lib/errorstate/version1/UrlNotFound.js +6 -34
- package/lib/errorstate/version1/WillBeRightBack.js +6 -34
- package/lib/errorstate/version2/EmptyUnauthorizedLogin.js +7 -35
- package/lib/errorstate/version2/EmptyWillBeRightBack.js +6 -33
- package/lib/errorstate/version2/NotImpossible.js +6 -33
- package/lib/errorstate/version3/ErrorInconvenience.js +7 -35
- package/lib/errorstate/version3/ErrorOopsSomethingMiss.js +7 -35
- package/lib/errorstate/version3/ErrorUnableToProcessRequest.js +7 -35
- package/lib/errorstate/version3/ErrorUnauthorizedLogin.js +7 -34
- package/lib/errorstate/version3/ErrorUrlNotFound.js +7 -35
- package/lib/errorstate/version3/ErrorWillBeRightBack.js +7 -34
- package/lib/index.js +15 -97
- package/package.json +20 -20
- package/assets/Appearance/dark/mode/contrast/darkContrastEmptyStates.module.css +0 -37
- package/assets/Appearance/dark/themes/blue/contrast/blueDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/green/contrast/greenDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/orange/contrast/orangeDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/red/contrast/redDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/dark/themes/yellow/contrast/yellowDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/mode/contrast/defaultContrastEmptyStates.module.css +0 -37
- package/assets/Appearance/default/themes/blue/contrast/blueDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/green/contrast/greenDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/orange/contrast/orangeDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/red/contrast/redDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/default/themes/yellow/contrast/yellowDefaultCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/mode/contrast/pureDarkContrastEmptyStates.module.css +0 -37
- package/assets/Appearance/pureDark/themes/blue/contrast/bluePureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/green/contrast/greenPureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/orange/contrast/orangePureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/red/contrast/redPureDarkCTAThemeContrast.module.css +0 -10
- package/assets/Appearance/pureDark/themes/yellow/contrast/yellowPureDarkCTAThemeContrast.module.css +0 -10
- package/es/Provider.js +0 -120
- package/es/docs/Emptystate__version1.docs.js +0 -29
- package/es/docs/Emptystate__version2.docs.js +0 -45
- package/es/docs/Emptystate__version3.docs.js +0 -148
- package/es/docs/Errorstate__version1.docs.js +0 -41
- package/es/docs/Errorstate__version2.docs.js +0 -33
- package/es/docs/Errorstate__version3.docs.js +0 -39
- package/es/docs/SVG__common.docs.js +0 -29
- package/es/docs/SVGdocstyle.module.css +0 -74
- package/lib/Provider.js +0 -222
- package/lib/docs/Emptystate__version1.docs.js +0 -79
- package/lib/docs/Emptystate__version2.docs.js +0 -103
- package/lib/docs/Emptystate__version3.docs.js +0 -256
- package/lib/docs/Errorstate__version1.docs.js +0 -97
- package/lib/docs/Errorstate__version2.docs.js +0 -85
- package/lib/docs/Errorstate__version3.docs.js +0 -94
- package/lib/docs/SVG__common.docs.js +0 -79
- package/lib/docs/SVGdocstyle.module.css +0 -74
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
2
|
import React from 'react';
|
|
4
3
|
import { ErrorStateProps } from './../props/propTypes';
|
|
5
4
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
6
|
-
import SVG from './../../
|
|
5
|
+
import SVG from './../../SVG/SVG';
|
|
7
6
|
export default class OopsSomethingMiss extends React.Component {
|
|
8
7
|
render() {
|
|
9
8
|
return /*#__PURE__*/React.createElement(SVG, _extends({
|
|
@@ -46,8 +45,7 @@ export default class OopsSomethingMiss extends React.Component {
|
|
|
46
45
|
fill: "none"
|
|
47
46
|
}), /*#__PURE__*/React.createElement("path", {
|
|
48
47
|
d: "M303.15 291.07S305.8 246.26 333 213c0 0-17.72 26.28 8.37 32.39 0 0 5 9.36 7.36 9.19l2 7.24s6.28-3.87 8.21-1.77 5.8 1.7 9.85.64c0 0-6.43 6.76 13.35 13.83 0 0 1.29 15.33 7.57 14.31s6.57-3.85 10.95-1.76 7.08-2.57 8.69-1.29.64 10.14 5.95 11.1 4.83 8.21 5 18 11.42 6.57 14 9.85 2.57 10.45 2.57 10.45l-2.59 6.76c.6-2.94-61.95-46.94-131.13-50.87z",
|
|
49
|
-
|
|
50
|
-
fill: "var(--zd_emptysvg_primary_fill)"
|
|
48
|
+
fill: "var(--zd_emptysvg_secondary_fill)"
|
|
51
49
|
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
52
50
|
cx: 395,
|
|
53
51
|
cy: 127.76,
|
|
@@ -93,15 +91,15 @@ export default class OopsSomethingMiss extends React.Component {
|
|
|
93
91
|
d: "M537.16 124.03l4.16 4.61M536.92 128.4l4.65-4.13"
|
|
94
92
|
}));
|
|
95
93
|
}
|
|
96
|
-
|
|
97
94
|
}
|
|
98
95
|
OopsSomethingMiss.propTypes = ErrorStateProps;
|
|
99
|
-
OopsSomethingMiss.defaultProps = {
|
|
96
|
+
OopsSomethingMiss.defaultProps = {
|
|
97
|
+
...ErrorStateDefaultProps,
|
|
100
98
|
dataId: 'oopssomethingmiss'
|
|
101
99
|
};
|
|
102
100
|
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
101
|
+
// if (__DOCS__) {
|
|
102
|
+
// OopsSomethingMiss.docs = {
|
|
103
|
+
// componentGroup: 'Emptystate'
|
|
104
|
+
// };
|
|
105
|
+
// }
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
2
|
import React from 'react';
|
|
4
3
|
import { ErrorStateProps } from './../props/propTypes';
|
|
5
4
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
6
|
-
import SVG from './../../
|
|
5
|
+
import SVG from './../../SVG/SVG';
|
|
7
6
|
export default class UnableToProcessRequest extends React.Component {
|
|
8
7
|
render() {
|
|
9
8
|
return /*#__PURE__*/React.createElement(SVG, _extends({
|
|
@@ -39,8 +38,7 @@ export default class UnableToProcessRequest extends React.Component {
|
|
|
39
38
|
r: 12.74
|
|
40
39
|
}), /*#__PURE__*/React.createElement("path", {
|
|
41
40
|
d: "M297 255.54s-110.07 41.88-93 62.4 36.49 23.37 19.38 54.15-.57 37.63 12 37.63 47.47-5.82 54.89-21.78 6.73-132.4 6.73-132.4z",
|
|
42
|
-
|
|
43
|
-
fill: "var(--zd_emptysvg_primary_fill)"
|
|
41
|
+
fill: "var(--zd_emptysvg_secondary_fill)"
|
|
44
42
|
}), /*#__PURE__*/React.createElement("path", {
|
|
45
43
|
d: "M233.85 228.91s51.63 1.49 50.52 13.36-88.71 13.37-105-3 101.33-17.25 120.26.84-86.11 31.46-126.2 4.36c0 0-2-2.64 0-3.93s1.83 88.22-.87 95.27-21.28 21.77-35.69 15.05-14.41-28.18-14.73-39.71-1-38.74 24-40.34 27.54 21.45 30.43 35.54 0-63.08-8-63.08-52.52 12.17-57 34.26-5.76 71.73 10.89 83.58 46.75 7.68 50.59 13.76.92 13.91 4.35 17.91 53.12 47.29 111.71 4.71a15.46 15.46 0 006.35-12l.72-19.46a3.07 3.07 0 00-3.81-3.1c-14.64 3.6-66.91 14.15-109.25-6.77 0 0-2.29-10.87 5.71-9.15 7 1.49 65.43 15.1 92.94 7.7a20.09 20.09 0 0114.66 2c1.55.82 3.41.54 5.46-2.26 5.88-8 78.5-143.52 75.07-160.68s-23.44-41.74-37.74-40.6-72.62 17.16-72.62 17.16-48-13.16-52.61-6.87 29.75 66 48.61 60.62c15-4.27-31.45-58.33-40-59.47s16 43.46 34.88 53.18 14.87-21.73 20-25.73 53.75-24 62.9-21.16 21.73 20.58 18.87 33.16-56 83.49-59.47 85.2.4-40.64 1.41-39.47-1.51 50.18-1.14 52-64 22.67-111.87-3.72c0 0-3.23-4.67.34-4.67s56.51 25.24 108.34 2.9",
|
|
46
44
|
strokeLinecap: "round",
|
|
@@ -93,15 +91,15 @@ export default class UnableToProcessRequest extends React.Component {
|
|
|
93
91
|
d: "M404.92 114.3l4.16 4.61M404.68 118.67l4.65-4.13"
|
|
94
92
|
}));
|
|
95
93
|
}
|
|
96
|
-
|
|
97
94
|
}
|
|
98
95
|
UnableToProcessRequest.propTypes = ErrorStateProps;
|
|
99
|
-
UnableToProcessRequest.defaultProps = {
|
|
96
|
+
UnableToProcessRequest.defaultProps = {
|
|
97
|
+
...ErrorStateDefaultProps,
|
|
100
98
|
dataId: 'unabletoprocessrequest'
|
|
101
99
|
};
|
|
102
100
|
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
101
|
+
// if (__DOCS__) {
|
|
102
|
+
// UnableToProcessRequest.docs = {
|
|
103
|
+
// componentGroup: 'Emptystate'
|
|
104
|
+
// };
|
|
105
|
+
// }
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
2
|
import React from 'react';
|
|
4
3
|
import { ErrorStateProps } from './../props/propTypes';
|
|
5
4
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
6
|
-
import SVG from './../../
|
|
5
|
+
import SVG from './../../SVG/SVG';
|
|
7
6
|
export default class UnauthorizedLogin extends React.Component {
|
|
8
7
|
render() {
|
|
9
8
|
return /*#__PURE__*/React.createElement(SVG, _extends({
|
|
10
9
|
viewBox: "0 -30 500 500",
|
|
11
10
|
name: "UnauthorizedLogin"
|
|
12
|
-
}, this.props), /*#__PURE__*/React.createElement("style", null, '.bouncer_svg__st0{opacity:5.000000e-02;fill:var(--zd_emptysvg_primary_fill);enable-background:new}.bouncer_svg__st5,.bouncer_svg__st7{fill:none;stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.bouncer_svg__st7{stroke:var(--zd_emptysvg_cross)}.bouncer_svg__st9{
|
|
11
|
+
}, this.props), /*#__PURE__*/React.createElement("style", null, '.bouncer_svg__st0{opacity:5.000000e-02;fill:var(--zd_emptysvg_primary_fill);enable-background:new}.bouncer_svg__st5,.bouncer_svg__st7{fill:none;stroke:var(--zd_emptysvg_plus);stroke-linecap:round;stroke-linejoin:round}.bouncer_svg__st7{stroke:var(--zd_emptysvg_cross)}.bouncer_svg__st9{fill:var(--zd_emptysvg_secondary_fill);enable-background:new}'), /*#__PURE__*/React.createElement("path", {
|
|
13
12
|
className: "bouncer_svg__st0",
|
|
14
13
|
d: "M135.6 156.5s33.8-54.8 54.8-11 32.9 82.2 94 33.8 86.7-55.7 109.5-25.6S438.2 440.4 215 387.5c0 0-176.7-66.6-79.4-231z"
|
|
15
14
|
}), /*#__PURE__*/React.createElement("circle", {
|
|
@@ -100,15 +99,15 @@ export default class UnauthorizedLogin extends React.Component {
|
|
|
100
99
|
d: "m229.4 153.6 2.8-2.4s16.7-2.1 18.6 2.3c1.9 4.4-3 8.9-10.3 9-7.2.1-11.5-3.1-11.1-8.9zM259.5 154.5l2.8-2.6s16.6-2.3 18.5 2.5c1.9 4.8-3 9.7-10.2 9.8-7.2.1-11.5-3.5-11.1-9.7zM251.3 200.4s-13.8-4.8-7.8-24.1c0 0 11.1-8.4 24.8-.3 0 0 6.8 21.6-8.6 24.4-2.3 1.1-5.1 1.1-8.4 0z"
|
|
101
100
|
}));
|
|
102
101
|
}
|
|
103
|
-
|
|
104
102
|
}
|
|
105
103
|
UnauthorizedLogin.propTypes = ErrorStateProps;
|
|
106
|
-
UnauthorizedLogin.defaultProps = {
|
|
104
|
+
UnauthorizedLogin.defaultProps = {
|
|
105
|
+
...ErrorStateDefaultProps,
|
|
107
106
|
dataId: 'unauthorizedlogin'
|
|
108
107
|
};
|
|
109
108
|
|
|
110
|
-
if (
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
109
|
+
// if (__DOCS__) {
|
|
110
|
+
// UnauthorizedLogin.docs = {
|
|
111
|
+
// componentGroup: 'Emptystate'
|
|
112
|
+
// };
|
|
113
|
+
// }
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
2
|
import React from 'react';
|
|
4
3
|
import { ErrorStateProps } from './../props/propTypes';
|
|
5
4
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
6
|
-
import SVG from './../../
|
|
5
|
+
import SVG from './../../SVG/SVG';
|
|
7
6
|
export default class UrlNotFound extends React.Component {
|
|
8
7
|
render() {
|
|
9
8
|
return /*#__PURE__*/React.createElement(SVG, _extends({
|
|
@@ -46,8 +45,7 @@ export default class UrlNotFound extends React.Component {
|
|
|
46
45
|
fill: "none"
|
|
47
46
|
}), /*#__PURE__*/React.createElement("path", {
|
|
48
47
|
d: "M129.31 207.53s-8.67 115.3 1.13 176.69c0 0 7 4 9-5.4 6.74-31.64 17.12-114.22 30.21-147.44 0 0 32.66 101.9 30.7 105.82s-6.8 22.07-3.92 21.55c13.22-2.4 35.92-69.89 20.9-133.25-.02 0-22.53-45.08-88.02-17.97z",
|
|
49
|
-
|
|
50
|
-
fill: "var(--zd_emptysvg_primary_fill)"
|
|
48
|
+
fill: "var(--zd_emptysvg_secondary_fill)"
|
|
51
49
|
}), /*#__PURE__*/React.createElement("ellipse", {
|
|
52
50
|
cx: 263.83,
|
|
53
51
|
cy: 122.29,
|
|
@@ -93,15 +91,15 @@ export default class UrlNotFound extends React.Component {
|
|
|
93
91
|
d: "M405.99 118.56l4.16 4.61M405.75 122.93l4.65-4.12"
|
|
94
92
|
}));
|
|
95
93
|
}
|
|
96
|
-
|
|
97
94
|
}
|
|
98
95
|
UrlNotFound.propTypes = ErrorStateProps;
|
|
99
|
-
UrlNotFound.defaultProps = {
|
|
96
|
+
UrlNotFound.defaultProps = {
|
|
97
|
+
...ErrorStateDefaultProps,
|
|
100
98
|
dataId: 'urlnotfound'
|
|
101
99
|
};
|
|
102
100
|
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
101
|
+
// if (__DOCS__) {
|
|
102
|
+
// UrlNotFound.docs = {
|
|
103
|
+
// componentGroup: 'Emptystate'
|
|
104
|
+
// };
|
|
105
|
+
// }
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
2
|
import React from 'react';
|
|
4
3
|
import { ErrorStateProps } from './../props/propTypes';
|
|
5
4
|
import { ErrorStateDefaultProps } from './../props/defaultProps';
|
|
6
|
-
import SVG from './../../
|
|
5
|
+
import SVG from './../../SVG/SVG';
|
|
7
6
|
export default class WillBeRightBack extends React.Component {
|
|
8
7
|
render() {
|
|
9
8
|
return /*#__PURE__*/React.createElement(SVG, _extends({
|
|
10
9
|
viewBox: "0 0 695.38 500",
|
|
11
10
|
name: "WillBeRightBack"
|
|
12
|
-
}, this.props), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("style", null, '.ErrorWillBeRightBack_svg__cls-1,.ErrorWillBeRightBack_svg__cls-2{fill:var(--
|
|
11
|
+
}, this.props), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("style", null, '.ErrorWillBeRightBack_svg__cls-1,.ErrorWillBeRightBack_svg__cls-2{fill:var(--zd_emptysvg_secondary_fill)}.ErrorWillBeRightBack_svg__cls-1{opacity:.05}.ErrorWillBeRightBack_svg__cls-10,.ErrorWillBeRightBack_svg__cls-8{fill:none;stroke-linecap:round;stroke-linejoin:round}.ErrorWillBeRightBack_svg__cls-10{stroke:var(--zd_emptysvg_cross)}.ErrorWillBeRightBack_svg__cls-8{stroke:var(--zd_emptysvg_plus)}')), /*#__PURE__*/React.createElement("path", {
|
|
13
12
|
className: "ErrorWillBeRightBack_svg__cls-1",
|
|
14
13
|
d: "M138.24 163.53S172 108.75 193 152.58s32.87 82.16 94 33.77 86.73-55.69 109.55-25.56 44.28 286.67-178.94 233.72c.05 0-176.61-66.65-79.37-230.98z"
|
|
15
14
|
}), /*#__PURE__*/React.createElement("circle", {
|
|
@@ -92,15 +91,15 @@ export default class WillBeRightBack extends React.Component {
|
|
|
92
91
|
d: "M395.35 128.36l4.15 4.61M395.1 132.72l4.65-4.12"
|
|
93
92
|
}));
|
|
94
93
|
}
|
|
95
|
-
|
|
96
94
|
}
|
|
97
95
|
WillBeRightBack.propTypes = ErrorStateProps;
|
|
98
|
-
WillBeRightBack.defaultProps = {
|
|
96
|
+
WillBeRightBack.defaultProps = {
|
|
97
|
+
...ErrorStateDefaultProps,
|
|
99
98
|
dataId: 'willberightback'
|
|
100
99
|
};
|
|
101
100
|
|
|
102
|
-
if (
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
101
|
+
// if (__DOCS__) {
|
|
102
|
+
// WillBeRightBack.docs = {
|
|
103
|
+
// componentGroup: 'Emptystate'
|
|
104
|
+
// };
|
|
105
|
+
// }
|
package/es/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
export { default as React } from 'react';
|
|
2
|
-
export { default as ReactDOM } from 'react-dom';
|
|
3
|
-
export { renderToStaticMarkup } from 'react-dom/server';
|
|
4
|
-
import '@zohodesk/variables/assets/sizeVariables.module.css';
|
|
5
|
-
|
|
6
|
-
export { default as
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
1
|
+
// export { default as React } from 'react';
|
|
2
|
+
// export { default as ReactDOM } from 'react-dom';
|
|
3
|
+
// export { renderToStaticMarkup } from 'react-dom/server';
|
|
4
|
+
// import '@zohodesk/variables/assets/sizeVariables.module.css';
|
|
5
|
+
|
|
6
|
+
// export { default as _provider } from './Provider';
|
|
7
|
+
// export { default as Emptystate__version1 } from './docs/Emptystate__version1.docs';
|
|
8
|
+
// export { default as Emptystate__version2 } from './docs/Emptystate__version2.docs';
|
|
9
|
+
// export { default as Emptystate__version3 } from './docs/Emptystate__version3.docs';
|
|
10
|
+
|
|
11
|
+
// export { default as Errorstate__version1 } from './docs/Errorstate__version1.docs';
|
|
12
|
+
// export { default as Errorstate__version2 } from './docs/Errorstate__version2.docs';
|
|
13
|
+
// export { default as Errorstate__version3 } from './docs/Errorstate__version3.docs';
|
|
14
|
+
// export { default as Svg__common } from './docs/SVG__common.docs';
|
package/install.md
ADDED
package/lib/Loader/Loader.js
CHANGED
|
@@ -1,54 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
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
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
9
|
var _defaultProps = require("./props/defaultProps");
|
|
13
|
-
|
|
14
10
|
var _propTypes = require("./props/propTypes");
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
var _SVGModule = _interopRequireDefault(require("./../svg/SVG.module.css"));
|
|
19
|
-
|
|
11
|
+
var _SVG = _interopRequireDefault(require("./../SVG/SVG"));
|
|
12
|
+
var _SVGModule = _interopRequireDefault(require("./../SVG/SVG.module.css"));
|
|
20
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
22
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
|
|
24
15
|
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
|
-
|
|
26
16
|
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
|
-
|
|
28
17
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
-
|
|
30
18
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
-
|
|
32
19
|
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); }; }
|
|
33
|
-
|
|
34
20
|
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); }
|
|
35
|
-
|
|
36
21
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
-
|
|
38
22
|
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; } }
|
|
39
|
-
|
|
40
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
-
|
|
42
24
|
var Loader = /*#__PURE__*/function (_React$PureComponent) {
|
|
43
25
|
_inherits(Loader, _React$PureComponent);
|
|
44
|
-
|
|
45
26
|
var _super = _createSuper(Loader);
|
|
46
|
-
|
|
47
27
|
function Loader(props) {
|
|
48
28
|
var _this;
|
|
49
|
-
|
|
50
29
|
_classCallCheck(this, Loader);
|
|
51
|
-
|
|
52
30
|
_this = _super.call(this, props);
|
|
53
31
|
_this.viewBoxStyle = {
|
|
54
32
|
animation: 'loaderone 2s linear infinite'
|
|
@@ -63,7 +41,6 @@ var Loader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
63
41
|
};
|
|
64
42
|
return _this;
|
|
65
43
|
}
|
|
66
|
-
|
|
67
44
|
_createClass(Loader, [{
|
|
68
45
|
key: "render",
|
|
69
46
|
value: function render() {
|
|
@@ -102,16 +79,14 @@ var Loader = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
102
79
|
})));
|
|
103
80
|
}
|
|
104
81
|
}]);
|
|
105
|
-
|
|
106
82
|
return Loader;
|
|
107
83
|
}(_react["default"].PureComponent);
|
|
108
|
-
|
|
109
84
|
exports["default"] = Loader;
|
|
110
85
|
Loader.propTypes = _propTypes.LoaderProps;
|
|
111
86
|
Loader.defaultProps = _defaultProps.LoaderDefaultProps;
|
|
112
87
|
|
|
113
|
-
if (
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
88
|
+
// if (__DOCS__) {
|
|
89
|
+
// Loader.docs = {
|
|
90
|
+
// componentGroup: 'SVG'
|
|
91
|
+
// };
|
|
92
|
+
// }
|
|
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.LoaderProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
9
|
var LoaderProps = {
|
|
13
10
|
dataId: _propTypes["default"].string
|
|
14
11
|
};
|
package/lib/{svg → SVG}/SVG.js
RENAMED
|
@@ -1,71 +1,49 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
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
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = void 0;
|
|
9
|
-
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
9
|
var _propTypes = require("./props/propTypes");
|
|
13
|
-
|
|
14
10
|
var _defaultProps = require("./props/defaultProps");
|
|
15
|
-
|
|
16
11
|
var _SVGModule = _interopRequireDefault(require("./SVG.module.css"));
|
|
17
|
-
|
|
18
12
|
var _EmptyStateVariablesModule = _interopRequireDefault(require("./../css/EmptyStateVariables.module.css"));
|
|
19
|
-
|
|
20
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
22
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
|
|
24
15
|
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
|
-
|
|
26
16
|
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
|
-
|
|
28
17
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
|
-
|
|
30
18
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
|
-
|
|
32
19
|
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); }; }
|
|
33
|
-
|
|
34
20
|
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); }
|
|
35
|
-
|
|
36
21
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
|
-
|
|
38
22
|
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; } }
|
|
39
|
-
|
|
40
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
-
|
|
42
24
|
var SVG = /*#__PURE__*/function (_React$Component) {
|
|
43
25
|
_inherits(SVG, _React$Component);
|
|
44
|
-
|
|
45
26
|
var _super = _createSuper(SVG);
|
|
46
|
-
|
|
47
27
|
function SVG() {
|
|
48
28
|
_classCallCheck(this, SVG);
|
|
49
|
-
|
|
50
29
|
return _super.apply(this, arguments);
|
|
51
30
|
}
|
|
52
|
-
|
|
53
31
|
_createClass(SVG, [{
|
|
54
32
|
key: "render",
|
|
55
33
|
value: function render() {
|
|
56
34
|
var _this$props = this.props,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
35
|
+
viewBox = _this$props.viewBox,
|
|
36
|
+
children = _this$props.children,
|
|
37
|
+
name = _this$props.name,
|
|
38
|
+
isRender = _this$props.isRender,
|
|
39
|
+
isSymbol = _this$props.isSymbol,
|
|
40
|
+
size = _this$props.size,
|
|
41
|
+
className = _this$props.className,
|
|
42
|
+
alignHorizontal = _this$props.alignHorizontal,
|
|
43
|
+
isFluid = _this$props.isFluid,
|
|
44
|
+
dataId = _this$props.dataId,
|
|
45
|
+
palette = _this$props.palette,
|
|
46
|
+
styleName = _this$props.styleName;
|
|
69
47
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isSymbol ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
48
|
hidden: true
|
|
71
49
|
}, /*#__PURE__*/_react["default"].createElement("svg", null, /*#__PURE__*/_react["default"].createElement("symbol", {
|
|
@@ -92,16 +70,14 @@ var SVG = /*#__PURE__*/function (_React$Component) {
|
|
|
92
70
|
}, children)) : null);
|
|
93
71
|
}
|
|
94
72
|
}]);
|
|
95
|
-
|
|
96
73
|
return SVG;
|
|
97
74
|
}(_react["default"].Component);
|
|
98
|
-
|
|
99
75
|
exports["default"] = SVG;
|
|
100
76
|
SVG.propTypes = _propTypes.SvgProps;
|
|
101
77
|
SVG.defaultProps = _defaultProps.SvgDefaultProps;
|
|
102
78
|
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
79
|
+
// if (__DOCS__) {
|
|
80
|
+
// SVG.docs = {
|
|
81
|
+
// componentGroup: 'SVG'
|
|
82
|
+
// };
|
|
83
|
+
// }
|
|
File without changes
|
|
@@ -1,33 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
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
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.StaticSvg = StaticSvg;
|
|
9
8
|
exports["default"] = SvgLoader;
|
|
10
|
-
|
|
11
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
|
|
13
10
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
|
-
|
|
15
11
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
|
|
17
12
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
18
|
-
|
|
19
13
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20
|
-
|
|
21
14
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
22
|
-
|
|
23
15
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
24
|
-
|
|
25
16
|
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
26
|
-
|
|
27
17
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
28
|
-
|
|
29
18
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
30
|
-
|
|
31
19
|
function SvgLoader(props) {
|
|
32
20
|
var uiProps = {};
|
|
33
21
|
Object.keys(props).filter(function (prop) {
|
|
@@ -35,21 +23,17 @@ function SvgLoader(props) {
|
|
|
35
23
|
}).map(function (prop) {
|
|
36
24
|
uiProps[prop] = props[prop];
|
|
37
25
|
});
|
|
38
|
-
|
|
39
26
|
var image = require("./images/".concat(props.imageUrl));
|
|
40
|
-
|
|
41
27
|
return /*#__PURE__*/_react["default"].createElement("image", _extends({
|
|
42
28
|
xlinkHref: image
|
|
43
29
|
}, uiProps));
|
|
44
30
|
}
|
|
45
|
-
|
|
46
31
|
function StaticSvg(props) {
|
|
47
32
|
var uiProps = {},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
_useState = (0, _react.useState)(null),
|
|
34
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
35
|
+
image = _useState2[0],
|
|
36
|
+
setImage = _useState2[1];
|
|
53
37
|
Object.keys(props).filter(function (prop) {
|
|
54
38
|
return prop != 'getImage';
|
|
55
39
|
}).map(function (prop) {
|
|
File without changes
|
|
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.SvgProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
9
|
var SvgProps = {
|
|
13
10
|
alignHorizontal: _propTypes["default"].bool,
|
|
14
11
|
children: _propTypes["default"].node,
|
|
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.EmptyStateProps = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
9
|
var EmptyStateProps = {
|
|
13
10
|
alignHorizontal: _propTypes["default"].bool,
|
|
14
11
|
className: _propTypes["default"].string,
|